eslint-config-kit

A collection of useful eslint configs
授权协议 MIT License
开发语言 TypeScript
所属分类 应用工具、 终端/远程登录
软件类型 开源软件
地区 不详
投 递 者 巢星纬
操作系统 跨平台
开源组织
适用人群 未知
 软件概览

ESLint Config Kit


ESLint Kit is a collection of useful ESLint configs for much more convenient project developing:

  • ⚡️ Easy and fast installation using @eslint-kit/cli
  • ⚙️ Only necessary rules to provide error checking and readability improving.
  • �� Modular usage. Easily combine presets for the different technologies.
  • �� Almost conflict free.

Here is the example for TypeScript React project:

{
  "extends": [
    "@eslint-kit/patch",
    "@eslint-kit/base",
    "@eslint-kit/typescript",
    "@eslint-kit/react"
  ],
  "parser": "@typescript-eslint/parser"
}

Usage

Check out our documentation.

Common issues

Check out the Common issues section in docs.

Contributing

Check out the Contributing section in docs.

 相关资料
  • 不管是多人合作还是个人项目,代码规范都是很重要的。这样做不仅可以很大程度地避免基本语法错误,也保证了代码的可读性。 配置项 所有的配置文件都在 .eslintrc.js 中。 本项目基本规范是依托于 vue 官方的 eslint 规则 eslint-config-vue 做了少许的修改。大家可以按照自己的需求进行定制化配置。 比如:我个人或者项目组习惯于使用两个空格,但你可能觉得四个空格更顺眼,你

  • ESLint FECS 的 JavaScript 检查是基于 ESLint 结合我们的 JavaScript 编码规范,配置了一些默认的参数,以检查代码中可能存在的质量问题。 使用方式 最常用的方式就是直接调用fecs,此时会递归的扫描当前目录下面的所有的 JavaScript、CSS 和 HTML 文件(默认已经忽略 node_modules, bower_components 目录),然后依次

  • ESLint 是一个开源的JavaScript验证工具,相比JSLint,ESLint具有可配置性。其他跟 JSLint 的不同之处: ESLint 使用 Esprima 来进行 javascript 解析 ESLint 使用 AST 来修改代码模式 ESLint 是完全插件化的,每个规则都是一个插件,用户可以在运行时增加更多的插件  

  • 静态方法,全局配置QueryList,返回值为QL\Config对象. QL\Config 对象 方法列表: use() 全局安装插件 bind() 全局功能扩展 Config use($plugins,...$opt) 用法同QueryList的use方法,全局安装插件后,所有QueryList对象均可使用这些插件。 QueryList::config()->use(My\MyPlugin::c

  • Angular ESLint Monorepo for all the tooling which enables ESLint to lint Angular projects This project is made possible thanks to the continued hard work going into https://github.com/typescript-eslin

  • Eslint Watch Don't want to import Webpack, Grunt, or some other task package into your project? Then this is the tool for you.Eslint Watch is a simple command line tool that wraps Eslint. Eslint Watch