2.3.0 • Published 5 months ago

@moser-inc/eslint-config v2.3.0

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

Moser ESLint Config Core npm

This is the core set of rules to for use in each variation and in isolation when using an alternate library or framework.

Installation

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

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/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']
}
1.18.1

12 months ago

1.17.2

12 months ago

1.18.0

12 months ago

1.17.1

12 months ago

1.17.0

12 months ago

1.16.0

12 months ago

1.18.5

10 months ago

1.18.4

11 months ago

1.18.3

11 months ago

1.18.2

12 months ago

1.17.3

12 months ago

1.18.8

10 months ago

1.18.7

10 months ago

1.18.6

10 months ago

2.3.0

5 months ago

2.2.1

7 months ago

2.2.0

9 months ago

2.2.3

7 months ago

2.2.2

7 months ago

2.2.5

6 months ago

2.2.4

7 months ago

2.1.0

9 months ago

2.0.1

10 months ago

2.0.0

10 months ago

1.15.0

1 year ago

1.14.1

1 year ago

1.14.0

1 year ago

1.13.1

1 year ago

1.13.0

2 years ago

1.12.0

2 years ago

1.11.0

2 years ago

1.9.0

2 years ago

1.8.1

2 years ago

1.8.0

2 years ago

1.10.1

2 years ago

1.10.0

2 years ago

1.7.1

2 years ago

1.7.0

3 years ago

1.6.0

3 years ago