Skip to content

Commit 807261b

Browse files
super-linterアップデート (#2036)
* chore(deps): update super-linter/super-linter action to v8.4.0 * Update eslint.config.mjs * ignore dist --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
1 parent 85b8a50 commit 807261b

File tree

2 files changed

+6
-21
lines changed

2 files changed

+6
-21
lines changed

.github/workflows/super-linter.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ jobs:
5454
# Run Linter against code base #
5555
################################
5656
- name: Lint Code Base
57-
uses: super-linter/super-linter/slim@d5b0a2ab116623730dd094f15ddc1b6b25bf7b99 # v8.3.2
57+
uses: super-linter/super-linter/slim@12562e48d7059cf666c43a4ecb0d3b5a2b31bd9e # v8.4.0
5858
env:
5959
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
6060
DEFAULT_BRANCH: main

eslint.config.mjs

Lines changed: 5 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
1-
// https://github.com/super-linter/super-linter/blob/0d8f7aad449c1dc8ecaf2362684de5d379d2cd7d/TEMPLATES/eslint.config.mjs
1+
// https://github.com/super-linter/super-linter/blob/644fff4cf8f9c402888e29313139dd6e7cbce40e/TEMPLATES/eslint.config.mjs
22
import { defineConfig, globalIgnores } from "eslint/config";
33
import n from "eslint-plugin-n";
44
import prettier from "eslint-plugin-prettier";
55
import globals from "globals";
66
import jsoncParser from "jsonc-eslint-parser";
77
import typescriptEslint from "@typescript-eslint/eslint-plugin";
88
import tsParser from "@typescript-eslint/parser";
9-
import vueParser from "vue-eslint-parser";
9+
import pluginVue from "eslint-plugin-vue";
1010
import path from "node:path";
1111
import { fileURLToPath } from "node:url";
1212
import js from "@eslint/js";
@@ -82,7 +82,7 @@ export default defineConfig([
8282
},
8383
{
8484
files: ["**/*.js", "**/*.mjs", "**/*.cjs", "**/*.jsx"],
85-
// extends: compat.extends("plugin:react/recommended"),
85+
extends: compat.extends("plugin:react/recommended"),
8686

8787
languageOptions: {
8888
ecmaVersion: "latest",
@@ -102,7 +102,7 @@ export default defineConfig([
102102
extends: compat.extends(
103103
"plugin:@typescript-eslint/recommended",
104104
"plugin:n/recommended",
105-
// "plugin:react/recommended",
105+
"plugin:react/recommended",
106106
"prettier",
107107
),
108108

@@ -116,20 +116,5 @@ export default defineConfig([
116116
sourceType: "module",
117117
},
118118
},
119-
{
120-
files: ["**/*.vue"],
121-
extends: compat.extends("plugin:vue/recommended"),
122-
123-
languageOptions: {
124-
parser: vueParser,
125-
ecmaVersion: "latest",
126-
sourceType: "module",
127-
128-
parserOptions: {
129-
ecmaFeatures: {
130-
modules: true,
131-
},
132-
},
133-
},
134-
},
119+
...pluginVue.configs["flat/recommended"],
135120
]);

0 commit comments

Comments
 (0)