项目作者: eslint-kit

项目描述 :
A collection of useful eslint configs
高级语言: JavaScript
项目地址: git://github.com/eslint-kit/eslint-config-kit.git
创建时间: 2020-01-06T00:06:47Z
项目社区:https://github.com/eslint-kit/eslint-config-kit

开源协议:MIT License

下载


The new ESLint Kit is released!

The new version has solved a lot of problems:

  • You don’t need @eslint-kit/cli anymore:
    • Only one dependency. No eslint, no prettier, no plugins, parsers, resolvers and so on.
    • Blazingly fast setup. Just install @eslint-kit/configure, create .eslintrc.js and select presets you need.
    • Very short syntax, including alises setup.
    • The order of preset calls is no longer matter
  • ESLint v8 and new versions of everything
  • A lot of presets, including vue, solid, svelte, nest.js and other technologies
  • Automatic updates for typescript preset - no warnings in console
  • Better version control


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:

  1. {
  2. "extends": [
  3. "@eslint-kit/patch",
  4. "@eslint-kit/base",
  5. "@eslint-kit/typescript",
  6. "@eslint-kit/react"
  7. ],
  8. "parser": "@typescript-eslint/parser"
  9. }

Usage

Check out our documentation.

Common issues

Check out the Common issues section in docs.

Contributing

Check out the Contributing section in docs.