Skip to content

Commit b0e89ea

Browse files
massongitrenovate[bot]github-actions[bot]
authored
super-linterアップデート (#1290)
* Update super-linter/super-linter action to v7.3.0 * gitleaksをアップデートしてあげたよ! * eslint関連修正 * package.jsonやpackage-lock.jsonを直してあげたよ! (#1291) Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
1 parent 28cc8f3 commit b0e89ea

File tree

7 files changed

+94
-43
lines changed

7 files changed

+94
-43
lines changed

.eslintrc.yml

Lines changed: 73 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,73 @@
1+
---
2+
# https://github.com/super-linter/super-linter/blob/d0b304a6a58b560749c679157953fec8ba7206df/TEMPLATES/.eslintrc.yml
3+
env:
4+
browser: true
5+
es6: true
6+
jest: true
7+
node: true
8+
extends:
9+
- "eslint:recommended"
10+
ignorePatterns:
11+
- "!.*"
12+
- "**/node_modules/.*"
13+
plugins:
14+
- n
15+
- prettier
16+
overrides:
17+
# JSON files
18+
- files:
19+
- "*.json"
20+
extends:
21+
- plugin:jsonc/recommended-with-json
22+
parser: jsonc-eslint-parser
23+
parserOptions:
24+
jsonSyntax: JSON
25+
# JSONC files
26+
- files:
27+
- "*.jsonc"
28+
extends:
29+
- plugin:jsonc/recommended-with-jsonc
30+
parser: jsonc-eslint-parser
31+
parserOptions:
32+
jsonSyntax: JSONC
33+
# JSON5 files
34+
- files:
35+
- "*.json5"
36+
extends:
37+
- plugin:jsonc/recommended-with-json5
38+
parser: jsonc-eslint-parser
39+
parserOptions:
40+
jsonSyntax: JSON5
41+
# Javascript files
42+
- files:
43+
- "**/*.js"
44+
- "**/*.mjs"
45+
- "**/*.cjs"
46+
- "**/*.jsx"
47+
extends:
48+
- "plugin:react/recommended"
49+
parserOptions:
50+
sourceType: module
51+
ecmaVersion: latest
52+
ecmaFeatures:
53+
jsx: true
54+
modules: true
55+
# TypeScript files
56+
- files:
57+
- "**/*.ts"
58+
- "**/*.cts"
59+
- "**/*.mts"
60+
- "**/*.tsx"
61+
extends:
62+
- "plugin:@typescript-eslint/recommended"
63+
- plugin:n/recommended
64+
- plugin:react/recommended
65+
- prettier
66+
rules:
67+
n/no-missing-import: off
68+
parser: "@typescript-eslint/parser"
69+
plugins:
70+
- "@typescript-eslint"
71+
parserOptions:
72+
ecmaVersion: latest
73+
sourceType: module

.github/workflows/super-linter.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ jobs:
5353
# Run Linter against code base #
5454
################################
5555
- name: Lint Code Base
56-
uses: super-linter/super-linter/slim@85f7611e0f7b53c8573cca84aa0ed4344f6f6a4d # v7.2.1
56+
uses: super-linter/super-linter/slim@4e8a7c2bf106c4c766c816b35ec612638dc9b6b2 # v7.3.0
5757
env:
5858
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
5959
DEFAULT_BRANCH: main

.github/workflows/update-package.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ jobs:
2929
cache: npm
3030
node-version-file: .node-version
3131
- if: github.event_name != 'pull_request' || github.event.action != 'closed'
32-
run: npm install
32+
run: bash "${GITHUB_WORKSPACE}/scripts/update_package/update_package/install.sh"
3333
- uses: dev-hato/actions-diff-pr-management@cea263ca46759ebc8c812b8595be4df129761037 # v2.1.0
3434
with:
3535
github-token: ${{secrets.GITHUB_TOKEN}}

.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
repos:
33
- repo: https://github.com/zricethezav/gitleaks
4-
rev: v8.21.2
4+
rev: v8.24.0
55
hooks:
66
- id: gitleaks

0 commit comments

Comments
 (0)