4.1.0 • Published 5 months ago

@moser-inc/eslint-config-react v4.1.0

Weekly downloads
-
License
ISC
Repository
github
Last release
5 months ago

Moser ESLint Config React npm

This is the set of rules to for usage in React based projects.

Installation

npm i -D eslint prettier @moser-inc/eslint-config-react

Usage (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']
}
2.3.0

12 months ago

2.2.1

12 months ago

2.2.0

12 months ago

2.3.2

12 months ago

2.2.3

12 months ago

2.4.0

10 months ago

2.3.1

12 months ago

2.2.2

12 months ago

2.3.4

11 months ago

2.3.3

11 months ago

2.3.6

10 months ago

2.3.5

11 months ago

2.1.0

12 months ago

3.1.3

7 months ago

3.1.2

7 months ago

3.1.1

9 months ago

3.1.0

9 months ago

3.0.1

10 months ago

3.1.4

7 months ago

2.3.8

10 months ago

2.3.7

10 months ago

4.1.0

5 months ago

4.0.1

6 months ago

4.0.0

7 months ago

2.0.1

1 year ago

1.6.2

1 year ago

2.0.0

1 year ago

1.6.1

1 year ago

1.6.0

1 year ago

1.5.4

2 years ago

1.5.3

2 years ago

1.5.2

2 years ago

1.3.6

2 years ago

1.3.5

2 years ago

1.5.1

2 years ago

1.5.0

2 years ago

1.4.0

2 years ago

1.3.4

2 years ago

1.3.3

3 years ago

1.3.2

3 years ago