Skip to content

Commit

Permalink
super-linterのWarning修正
Browse files Browse the repository at this point in the history
  • Loading branch information
massongit committed Mar 9, 2025
1 parent 1199714 commit 15096a9
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 4 deletions.
6 changes: 3 additions & 3 deletions .eslintrc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,8 @@ overrides:
- "**/*.mjs"
- "**/*.cjs"
- "**/*.jsx"
extends:
- "plugin:react/recommended"
#extends:
# - "plugin:react/recommended"
parserOptions:
sourceType: module
ecmaVersion: latest
Expand All @@ -61,7 +61,7 @@ overrides:
extends:
- "plugin:@typescript-eslint/recommended"
- plugin:n/recommended
- plugin:react/recommended
#- plugin:react/recommended
- prettier
rules:
n/no-missing-import: off
Expand Down
1 change: 0 additions & 1 deletion .github/workflows/pr-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,6 @@ jobs:
VALIDATE_SQLFLUFF: false
VALIDATE_CHECKOV: false # TODO: checkovが依存するopenaiのバージョンがアップデートされたら削除
VALIDATE_JSCPD: false
TYPESCRIPT_DEFAULT_STYLE: prettier
VALIDATE_TYPESCRIPT_STANDARD: false
LINTER_RULES_PATH: .
FILTER_REGEX_EXCLUDE: ".*assets/.*.txt"
Expand Down
8 changes: 8 additions & 0 deletions commitlint.config.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
// https://github.com/super-linter/super-linter/blob/5d6e3fcecc2b2906eedc2d15495fd6027bf51a9e/commitlint.config.js
module.exports = {
extends: ["@commitlint/config-conventional"],
helpUrl: "https://www.conventionalcommits.org/",
// We need this until https://github.com/dependabot/dependabot-core/issues/2445
// is resolved.
ignores: [(msg: string) => /Signed-off-by: dependabot\[bot]/m.test(msg)],
};

0 comments on commit 15096a9

Please sign in to comment.