Skip to content

Commit

Permalink
Migrate to ESLint v9
Browse files Browse the repository at this point in the history
  • Loading branch information
MetRonnie committed Apr 9, 2024
1 parent fc3da40 commit b9c33f7
Show file tree
Hide file tree
Showing 4 changed files with 45 additions and 22 deletions.
14 changes: 0 additions & 14 deletions .eslintrc.json

This file was deleted.

13 changes: 13 additions & 0 deletions eslint.config.cjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
const globals = require("globals")
const js = require("@eslint/js")

/** @type {import('eslint').Linter.FlatConfig[]} */
module.exports = [
js.configs.recommended,
{
languageOptions: {
sourceType: "commonjs",
globals: globals.node,
},
},
]
36 changes: 29 additions & 7 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 3 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@
".": "./cylc-action-utils.js"
},
"devDependencies": {
"eslint": "^9.0.0"
"@eslint/js": "^9.0.0",
"eslint": "^9.0.0",
"globals": "^15.0.0"
}
}

0 comments on commit b9c33f7

Please sign in to comment.