@moser-inc/eslint-config-react v4.1.0
Moser ESLint Config React 
This is the set of rules to for usage in React based projects.
Installation
npm i -D eslint prettier @moser-inc/eslint-config-reactUsage (Flat)
Export the config from your eslint.config.mjs file. The config exports a function that returns a composer instance (see here) that can prepend/append/override rules and configuration.
import moser from '@moser-inc/eslint-config-react/flat';
export default moser().append(...);For support for type checked rules, include the tsconfigPath option.
import moser from '@moser-inc/eslint-config/flat';
export default moser({ tsconfigPath: './tsconfig.json' }).append(...);Usage (Legacy)
Add the config to the extends option in your .eslintrc.cjs file.
module.exports = {
extends: ['@moser-inc/eslint-config-react']
}12 months ago
12 months ago
12 months ago
12 months ago
12 months ago
10 months ago
12 months ago
12 months ago
11 months ago
11 months ago
10 months ago
11 months ago
12 months ago
7 months ago
7 months ago
9 months ago
9 months ago
10 months ago
7 months ago
10 months ago
10 months ago
5 months ago
6 months ago
7 months ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
3 years ago
3 years ago