Skip to content

Commit de4f8c7

Browse files
Bump eslint-plugin-github from 5.1.8 to 6.0.0 (#146)
* Bump eslint-plugin-github from 5.1.8 to 6.0.0 Bumps [eslint-plugin-github](https://github.com/github/eslint-plugin-github) from 5.1.8 to 6.0.0. - [Release notes](https://github.com/github/eslint-plugin-github/releases) - [Commits](github/eslint-plugin-github@v5.1.8...v6.0.0) --- updated-dependencies: - dependency-name: eslint-plugin-github dependency-type: direct:development update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <[email protected]> * Convert to flat config --------- Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Kate Higa <[email protected]>
1 parent 14d7d0c commit de4f8c7

File tree

4 files changed

+281
-273
lines changed

4 files changed

+281
-273
lines changed

.eslintrc.json

-24
This file was deleted.

eslint.config.js

+28
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
import github from "eslint-plugin-github";
2+
import globals from "globals";
3+
4+
export default [
5+
github.getFlatConfigs().recommended,
6+
{
7+
languageOptions: {
8+
ecmaVersion: 13,
9+
globals: {
10+
...globals.es6,
11+
...globals.node,
12+
...globals.jest,
13+
},
14+
},
15+
files: ["**/*.{js,mjs,cjs,jsx,mjsx,ts,tsx,mtsx}"],
16+
rules: {
17+
"github/filenames-match-regex": "off",
18+
"i18n-text/no-en": "off",
19+
"import/extensions": ["error", { js: "ignorePackages" }],
20+
"import/no-unresolved": [
21+
"error",
22+
{
23+
ignore: ["^markdownlint/.+"],
24+
},
25+
],
26+
},
27+
},
28+
];

0 commit comments

Comments
 (0)