Skip to content

Commit

Permalink
chore: migrate to eslint v9 (#559)
Browse files Browse the repository at this point in the history
  • Loading branch information
mshima authored Oct 14, 2024
1 parent 6caec3a commit 9665fff
Show file tree
Hide file tree
Showing 29 changed files with 3,394 additions and 5,162 deletions.
2 changes: 0 additions & 2 deletions .eslintignore

This file was deleted.

39 changes: 0 additions & 39 deletions .xo-config.json

This file was deleted.

21 changes: 21 additions & 0 deletions eslint.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
// @ts-check
import configs from '@yeoman/eslint';
import { config } from 'typescript-eslint';

export default config(
...configs,
{ ignores: ['test/fixtures/'] },
{
rules: {
'@typescript-eslint/no-this-alias': 'off',
'no-undef': 'off',
'prefer-destructuring': 'off',
'unicorn/no-array-for-each': 'off',
'unicorn/no-array-push-push': 'off',
'unicorn/no-array-reduce': 'off',
'unicorn/no-this-assignment': 'off',
'unicorn/prefer-spread': 'off',
'unicorn/prevent-abbreviations': 'off',
},
},
);
Loading

0 comments on commit 9665fff

Please sign in to comment.