Install with pnpm
(or npm
/ yarn
):
pnpm add @dylanarmstrong/eslint-config --save-dev
Then create an eslint.config.js
file in your project directory:
export { default } from '@dylanarmstrong/eslint-config';
Adjust your eslint.config.js
file as necessary by adding rules:
import eslint from '@dylanarmstrong/eslint-config';
export default [
...eslint,
{
rules: {
camelcase: 'off',
},
},
];
All encompassing eslint rules that can be placed on any project and have this plugin automatically adjust to the type of project.
Secondary goal is to avoid using any recommended rule sets.
After version 0.7, flat config and eslint@9
is required.