Skip to content

Commit 264d1b9

Browse files
chore(deps-dev): Bump eslint-plugin-github from 5.1.8 to 6.0.0 (#778)
* chore(deps-dev): 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] <support@github.com> * Fix `eslint-plugin-github` config --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Piotr Chabelski <ged.subfan@gmail.com>
1 parent 1e53108 commit 264d1b9

File tree

3 files changed

+20
-37
lines changed

3 files changed

+20
-37
lines changed

eslint.config.mjs

Lines changed: 2 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,11 @@
1-
import typescriptEslint from "@typescript-eslint/eslint-plugin";
21
import stylistic from "@stylistic/eslint-plugin";
32
import globals from "globals";
4-
import tsParser from "@typescript-eslint/parser";
5-
import path from "node:path";
6-
import { fileURLToPath } from "node:url";
7-
import js from "@eslint/js";
8-
import { FlatCompat } from "@eslint/eslintrc";
9-
10-
const __filename = fileURLToPath(import.meta.url);
11-
const __dirname = path.dirname(__filename);
12-
const compat = new FlatCompat({
13-
baseDirectory: __dirname,
14-
recommendedConfig: js.configs.recommended,
15-
allConfig: js.configs.all
16-
});
3+
import github from "eslint-plugin-github";
174

185
export default [{
196
ignores: ["**/dist/", "**/lib/", "**/node_modules/"],
20-
}, ...compat.extends("plugin:github/typescript"), {
7+
}, ...github.getFlatConfigs().typescript, {
218
plugins: {
22-
"@typescript-eslint": typescriptEslint,
239
"@stylistic": stylistic,
2410
},
2511

@@ -28,10 +14,6 @@ export default [{
2814
...globals.node,
2915
},
3016

31-
parser: tsParser,
32-
ecmaVersion: 9,
33-
sourceType: "module",
34-
3517
parserOptions: {
3618
project: true,
3719
},

package-lock.json

Lines changed: 17 additions & 16 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
"@typescript-eslint/parser": "^8.48.1",
3737
"@vercel/ncc": "^0.38.4",
3838
"eslint": "^9.39.1",
39-
"eslint-plugin-github": "^5.1.8",
39+
"eslint-plugin-github": "^6.0.0",
4040
"eslint-plugin-prettier": "^5.5.4",
4141
"js-yaml": "^4.1.1",
4242
"prettier": "3.7.4",

0 commit comments

Comments
 (0)