-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #48 from cylc/dependabot/npm_and_yarn/eslint-9.1.1
Bump eslint from 8.52.0 to 9.1.1
- Loading branch information
Showing
4 changed files
with
137 additions
and
141 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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", | ||
}, | ||
} | ||
] |
Oops, something went wrong.