5.0.0 • Published 10 months ago

@aduth/eslint-config v5.0.0

Weekly downloads
-
License
MIT
Repository
github
Last release
10 months ago

@aduth/eslint-config

Andrew Duthie's personal ESLint configurations.

Installation

npm install --save-dev eslint @aduth/eslint-config

eslint is a peer dependency of these configurations and must be installed in your project.

The following peer dependencies are optional and will enable additional rules when present:

  • JSDoc: eslint-plugin-jsdoc
  • Prettier: eslint-plugin-prettier and eslint-config-prettier
  • TypeScript: typescript-eslint

Usage

import baseConfig from '@aduth/eslint-config';

export default [
	...baseConfig,
	{
		// Add project specific overrides, if applicable.
	},
];

Refer to the ESLint guide on Using a Shareable Config.

The configuration includes only rules. You will need to provide environment and plugin settings as appropriate.

Variations

The default configuration is optimized for ES2015+. The following variations are available:

  • @aduth/eslint-config/base: Minimal subset of common rules
  • @aduth/eslint-config/esnext: Rules optimized for ES2015+
  • @aduth/eslint-config/es5: Rules optimized for ES5 only (assigns parserOption.ecmaVersion: 5)

License

Copyright 2025 Andrew Duthie

Released under the MIT License.

5.0.0

10 months ago

4.6.0

1 year ago

4.5.0

1 year ago

4.4.1

4 years ago

4.4.0

4 years ago

4.3.0

4 years ago

4.2.1

4 years ago

4.2.0

4 years ago

4.1.0

4 years ago

4.0.1

4 years ago

4.0.0

4 years ago

3.0.0

7 years ago

2.0.0

8 years ago

1.0.0

8 years ago