3.0.1 • Published 8 months ago

@lzear/eslint-config v3.0.1

Weekly downloads
-
License
MIT
Repository
github
Last release
8 months ago

ESLint Config

Version GitHub License

My preferred ESLint configuration. Forked from azat-io/eslint-config, with some modifications including:

  • Use recommended presets from the plugins instead of managing the rules manually.
  • Changing rules to my personal preferences.

Usage

  1. Install package:

    yarn add --D eslint @lzear/eslint-config
  2. Create ESLint configuration file eslint.config.js:

    import eslintConfig from '@lzear/eslint-config'
    
    export default eslintConfig({
      perfectionist: true,
      typescript: true,
      react: true,
      node: true,
    })
  3. Add script for package.json:

    {
      "scripts": {
        "test:js": "eslint \"**/*.{js,ts,jsx,tsx,json}\""
      }
    }

License

MIT © Azat S.