Skip to content

Commit 9665fff

Browse files
authored
chore: migrate to eslint v9 (yeoman#559)
1 parent 6caec3a commit 9665fff

29 files changed

+3394
-5162
lines changed

.eslintignore

-2
This file was deleted.

.xo-config.json

-39
This file was deleted.

eslint.config.js

+21
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
// @ts-check
2+
import configs from '@yeoman/eslint';
3+
import { config } from 'typescript-eslint';
4+
5+
export default config(
6+
...configs,
7+
{ ignores: ['test/fixtures/'] },
8+
{
9+
rules: {
10+
'@typescript-eslint/no-this-alias': 'off',
11+
'no-undef': 'off',
12+
'prefer-destructuring': 'off',
13+
'unicorn/no-array-for-each': 'off',
14+
'unicorn/no-array-push-push': 'off',
15+
'unicorn/no-array-reduce': 'off',
16+
'unicorn/no-this-assignment': 'off',
17+
'unicorn/prefer-spread': 'off',
18+
'unicorn/prevent-abbreviations': 'off',
19+
},
20+
},
21+
);

0 commit comments

Comments
 (0)