Skip to content

Commit

Permalink
fix: remove eslint compat from react utils
Browse files Browse the repository at this point in the history
  • Loading branch information
gipo355 committed Jul 1, 2024
1 parent 8b22b55 commit 26517ec
Showing 1 changed file with 13 additions and 13 deletions.
26 changes: 13 additions & 13 deletions packages/react-utils/eslint.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,17 +14,17 @@ module.exports = [
files: ['**/*.js', '**/*.jsx'],
rules: {},
},
...compat.config({ parser: 'jsonc-eslint-parser' }).map((config) => ({
...config,
files: ['**/*.json'],
files: ['**/*.json'],
rules: {
'@nx/dependency-checks': [
'error',
{
ignoredFiles: ['{projectRoot}/vite.config.{js,ts,mjs,mts}'],
},
],
},
})),
// ...compat.config({ parser: 'jsonc-eslint-parser' }).map((config) => ({
// ...config,
// files: ['**/*.json'],
// files: ['**/*.json'],
// rules: {
// '@nx/dependency-checks': [
// 'error',
// {
// ignoredFiles: ['{projectRoot}/vite.config.{js,ts,mjs,mts}'],
// },
// ],
// },
// })),
];

0 comments on commit 26517ec

Please sign in to comment.