Skip to content

Commit

Permalink
feat: migrate base projet to eslint to v9.x flat config
Browse files Browse the repository at this point in the history
  • Loading branch information
Gandhi11 committed Apr 26, 2024
1 parent a0cbc65 commit 4cb5763
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 9 deletions.
18 changes: 10 additions & 8 deletions eslint.config.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
{
"extends": [
"./packages/eslint-config-base/index.js"
],
"rules": {
// If your editor cannot show these to you, occasionally turn this off and run the linter
"no-warning-comments": 0
const configBase = require('./packages/eslint-config-base/index.js');

module.exports = [
...configBase,
{
"rules": {
// If your editor cannot show these to you, occasionally turn this off and run the linter
"no-warning-comments": 0
}
}
}
];
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"bugs": "https://github.com/eXolnet/code-quality-tools/issues",
"devDependencies": {
"babel-eslint": "^10.0.1",
"eslint": "^6.1.0"
"eslint": "^9.1.0"
},
"eslintIgnore": [
"*/**/node_modules/*"
Expand Down

0 comments on commit 4cb5763

Please sign in to comment.