Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 42f8d80

Browse filesBrowse files
chore(deps-dev): bump eslint from 8.57.1 to 9.16.0 (#125)
* chore(deps-dev): bump eslint from 8.57.1 to 9.16.0 Bumps [eslint](https://github.com/eslint/eslint) from 8.57.1 to 9.16.0. - [Release notes](https://github.com/eslint/eslint/releases) - [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md) - [Commits](eslint/eslint@v8.57.1...v9.16.0) --- updated-dependencies: - dependency-name: eslint dependency-type: direct:development update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> * change filename * fix * remove old config * ignore * ignore * ignore * fix --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Kendall Gassner <kendallgassner@github.com>
1 parent 04b899b commit 42f8d80
Copy full SHA for 42f8d80

File tree

Expand file treeCollapse file tree

4 files changed

+1942
-1364
lines changed
Filter options
Expand file treeCollapse file tree

4 files changed

+1942
-1364
lines changed

‎.eslintrc.js

Copy file name to clipboardExpand all lines: .eslintrc.js
-18Lines changed: 0 additions & 18 deletions
This file was deleted.

‎eslint.config.mjs

Copy file name to clipboard
+45Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
import github from "eslint-plugin-github";
2+
import globals from "globals";
3+
import path from "node:path";
4+
import { fileURLToPath } from "node:url";
5+
import js from "@eslint/js";
6+
import { FlatCompat } from "@eslint/eslintrc";
7+
8+
const __filename = fileURLToPath(import.meta.url);
9+
const __dirname = path.dirname(__filename);
10+
11+
const compat = new FlatCompat({
12+
baseDirectory: __dirname,
13+
recommendedConfig: js.configs.recommended,
14+
allConfig: js.configs.all
15+
});
16+
17+
export default [...compat.config({
18+
extends: "plugin:github/recommended",
19+
ignorePatterns: ['eslint.config.mjs', '.markdownlint-cli2.cjs'],
20+
rules: {
21+
"import/no-commonjs": "off",
22+
"filenames/match-regex": "off",
23+
"i18n-text/no-en": "off",
24+
},
25+
}), {
26+
plugins: {
27+
github,
28+
},
29+
ignores: ['eslint.config.mjs', '.markdownlint-cli2.cjs'],
30+
languageOptions: {
31+
globals: {
32+
...globals.node,
33+
...globals.jest,
34+
},
35+
36+
ecmaVersion: 2020,
37+
sourceType: "commonjs",
38+
},
39+
40+
rules: {
41+
"import/no-commonjs": "off",
42+
"filenames/match-regex": "off",
43+
"i18n-text/no-en": "off",
44+
},
45+
}];

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.