Skip to content

Repository files navigation

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-neolution

Usage

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 ✗ ✓ ✗ ✗ ✗

License

MIT

About

This package provides Neolution's .eslintrc as an extensible shared config.

Resources

Stars

1 star

Watchers

2 watching

Forks

Releases

Packages

Used by

Contributors

Languages