Skip to content

Commit 6c19856

Browse files
github-actions[bot]massongit
authored andcommitted
hato-botのCIを反映するよ!
1 parent eb9de38 commit 6c19856

7 files changed

+87
-42
lines changed

.eslintrc.yml

+73
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/pr-test.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -32,20 +32,20 @@ jobs:
3232
- name: Install dependencies
3333
run: bash "${GITHUB_WORKSPACE}/scripts/pr_test/pr_super_lint/npm_ci.sh"
3434
- name: Lint files
35-
uses: super-linter/super-linter/slim@85f7611e0f7b53c8573cca84aa0ed4344f6f6a4d # v7.2.1
35+
uses: super-linter/super-linter/slim@4e8a7c2bf106c4c766c816b35ec612638dc9b6b2 # v7.3.0
3636
env:
3737
VALIDATE_ALL_CODEBASE: true
3838
VALIDATE_SQLFLUFF: false
3939
VALIDATE_CHECKOV: false # TODO: checkovが依存するopenaiのバージョンがアップデートされたら削除
4040
VALIDATE_JSCPD: false
41-
TYPESCRIPT_DEFAULT_STYLE: prettier
4241
VALIDATE_TYPESCRIPT_STANDARD: false
4342
LINTER_RULES_PATH: .
4443
FILTER_REGEX_EXCLUDE: ".*assets/.*.txt"
4544
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
4645
DEFAULT_BRANCH: ${{ github.event.repository.default_branch }}
4746
WORKON_HOME: ""
4847
PYTHONPATH: ${{ env.PYTHONPATH }}
48+
VALIDATE_GIT_COMMITLINT: false
4949
pr-dotenv-linter:
5050
runs-on: ubuntu-latest
5151
steps:

.pre-commit-config.yaml

+1-1
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

.textlintrc

+2-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,8 @@
2424
"https://platform.openai.com/api-keys",
2525
"https://fly.io/dashboard/",
2626
"https://fly.io/docs/getting-started/launch-demo/#1-install-flyctl",
27-
"https://fly.io/docs/getting-started/launch-demo/#2-sign-up-or-sign-in"
27+
"https://fly.io/docs/getting-started/launch-demo/#2-sign-up-or-sign-in",
28+
"https://ngrok.com/"
2829
]
2930
},
3031
"no-mixed-zenkaku-and-hankaku-alphabet": true,

package-lock.json

+4-35
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)