2.1.0 • Published 8 months ago
@neolution-ch/eslint-config-neolution v2.1.0
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 | ✗ | ✓ | ✗ | ✗ | ✗ |