Skip to content

Commit

Permalink
Merge pull request #48 from cylc/dependabot/npm_and_yarn/eslint-9.1.1
Browse files Browse the repository at this point in the history
Bump eslint from 8.52.0 to 9.1.1
  • Loading branch information
wxtim authored May 17, 2024
2 parents 76359a6 + c8e3238 commit d69e259
Show file tree
Hide file tree
Showing 4 changed files with 137 additions and 141 deletions.
17 changes: 0 additions & 17 deletions .eslintrc.json

This file was deleted.

19 changes: 19 additions & 0 deletions eslint.config.mjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
import globals from "globals"
import js from "@eslint/js"

/** @type {import('eslint').Linter.FlatConfig[]} */
export default [
js.configs.recommended,
{
languageOptions: {
sourceType: "commonjs",
globals: globals.node,
},
},
{
files: ["**/*.mjs"],
languageOptions: {
sourceType: "module",
},
}
]
Loading

0 comments on commit d69e259

Please sign in to comment.