@neolution-ch/eslint-config-neolution
v2.3.0
Published
This package provides Neolution's .eslintrc as an extensible shared config.
Downloads
1,964
Readme
eslint-config-neolution
This package provides Neolution's eslint.config.js as an extensible shared config.
Installation
# inside your project's working tree
yarn add -D @neolution-ch/eslint-config-neolutionUsage
Edit the eslint.config.mjs of your project:
import neolutionEslintConfig from "@neolution-ch/eslint-config-neolution";
export default [...neolutionEslintConfig.configs.flat.nextjs];Configs
| ruleset | nextjs | cypress | react-library | typescript | javascript | | --------------------------------------------- | :-----: | :-----: | :-----------: | :--------: | :--------: | | eslint.configs.recommended | ✓ | ✓ | ✓ | ✓ | ✓ | | unicorn/recommended | ✓ | ✓ | ✓ | ✓ | ✓ | | typeScriptEslint.configs.recommended | ✓ | ✓ | ✓ | ✓ | ✗ | | eslintPluginReact.configs.flat.recommended | ✓ | ✓ | ✓ | ✗ | ✗ | | eslintPluginReact.configs.flat["jsx-runtime"] | ✓ | ✓ | ✓ | ✗ | ✗ | | eslintPluginPrettierRecommended | ✓ | ✓ | ✓ | ✓ | ✓ | | next/next/recommended | ✓ | ✗ | ✗ | ✗ | ✗ | | import/typescript | ✓ | ✓ | ✓ | ✓ | ✓ | | react-hooks | ✓ | ✗ | ✓ | ✗ | ✗ | | cypress/recommended | ✗ | ✓ | ✗ | ✗ | ✗ | | eslint-plugin-no-only-tests | ✗ | ✓ | ✗ | ✗ | ✗ |
