Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: migrate to FlatConfig #64

Merged
merged 17 commits into from
Jan 15, 2025
Prev Previous commit
Next Next commit
fix eslint-plugin-n
  • Loading branch information
yoshinorin committed Oct 7, 2024
commit c622c6043f7cbc684040e77567d739ed82d62818
5 changes: 1 addition & 4 deletions eslint.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,6 @@ const commonConfig = {
...globals.es6,
},
},
plugins: {
n: nodePlugin,
},
rules: {
// override recommended
'no-empty': ['error', { allowEmptyCatch: true }],
Expand Down Expand Up @@ -148,6 +145,6 @@ const commonConfig = {

export default [
eslintJs.configs.recommended,
...nodePlugin.configs.recommended,
nodePlugin.configs["flat/recommended-script"],
commonConfig,
];