Skip to content

Commit 341d4dc

Browse files
authored
super-linterのWarning修正 (#1298)
1 parent e5df102 commit 341d4dc

File tree

3 files changed

+11
-4
lines changed

3 files changed

+11
-4
lines changed

.eslintrc.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -44,8 +44,8 @@ overrides:
4444
- "**/*.mjs"
4545
- "**/*.cjs"
4646
- "**/*.jsx"
47-
extends:
48-
- "plugin:react/recommended"
47+
#extends:
48+
# - "plugin:react/recommended"
4949
parserOptions:
5050
sourceType: module
5151
ecmaVersion: latest
@@ -61,7 +61,7 @@ overrides:
6161
extends:
6262
- "plugin:@typescript-eslint/recommended"
6363
- plugin:n/recommended
64-
- plugin:react/recommended
64+
#- plugin:react/recommended
6565
- prettier
6666
rules:
6767
n/no-missing-import: off

.github/workflows/super-linter.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,6 @@ jobs:
5959
DEFAULT_BRANCH: main
6060
LINTER_RULES_PATH: .
6161
VALIDATE_JSCPD: false
62-
TYPESCRIPT_DEFAULT_STYLE: prettier
6362
VALIDATE_TYPESCRIPT_STANDARD: false
6463
concurrency:
6564
group: ${{ github.workflow }}-${{ github.event_name }}-${{ github.ref }}

commitlint.config.ts

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
// https://github.com/super-linter/super-linter/blob/5d6e3fcecc2b2906eedc2d15495fd6027bf51a9e/commitlint.config.js
2+
module.exports = {
3+
extends: ["@commitlint/config-conventional"],
4+
helpUrl: "https://www.conventionalcommits.org/",
5+
// We need this until https://github.com/dependabot/dependabot-core/issues/2445
6+
// is resolved.
7+
ignores: [(msg: string) => /Signed-off-by: dependabot\[bot]/m.test(msg)],
8+
};

0 commit comments

Comments
 (0)