This package provides Neolution's eslint.config.js as an extensible shared config.
# inside your project's working tree
yarn add -D @neolution-ch/eslint-config-neolutionEdit the eslint.config.mjs of your project:
import neolutionEslintConfig from "@neolution-ch/eslint-config-neolution";
export default [...neolutionEslintConfig.configs.flat.nextjs];| 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 | ✗ | ✓ | ✗ | ✗ | ✗ |