2.0.0 • Published 8 months ago
@autoguru/eslint-plugin v2.0.0
@autoguru/eslint-plugin
Usage
yarn add --dev @autoguru/eslint-plugin \
eslint
Modern eslint requires the flat config format and the package exports config for use with eslint.config.m/js.
import { base, react, typescript } from '@autoguru/eslint-plugin/config';
/** @type {import('eslint').Linter.Config[]} */
export default [
...base,
...typescript,
...react,
{
rules: {
// custom rules as normal
},
},
];
Legacy eslint
For versions prior to 9, configure it by extending your package.json
or
.eslintrc.yml
file:
extends:
- 'plugin:@autoguru/base'
- 'plugin:@autoguru/typescript' // if your project uses TypeScript (you can omit /base)
- 'plugin:@autoguru/react' // react and react hook checks
- 'plugin:@autoguru/jest' // jest, so we test better
If there are incompabitiblities with a version of eslint plugin coming from the @autoguru/eslint-plugin, you may need to pin an older version by using package file resolutions.
2.0.0
8 months ago
1.6.0
1 year ago
1.5.0
2 years ago
1.4.0
2 years ago
1.3.2
3 years ago
1.3.1
3 years ago
1.2.0
4 years ago
1.3.0
4 years ago
1.1.5
5 years ago
1.1.4
5 years ago
1.1.3
5 years ago
1.1.2
5 years ago
1.1.1
5 years ago
1.1.0
5 years ago
1.0.85
5 years ago
1.0.84
6 years ago
1.0.83
6 years ago
1.0.82
6 years ago
1.0.81
6 years ago
1.0.80
6 years ago
1.0.76
6 years ago
1.0.70
6 years ago
1.0.69
6 years ago
1.0.68
6 years ago
1.0.65
6 years ago
1.0.62
6 years ago
1.0.61
6 years ago