File tree Expand file tree Collapse file tree 7 files changed +94
-43
lines changed
scripts/update_package/update_package Expand file tree Collapse file tree 7 files changed +94
-43
lines changed Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change 53
53
# Run Linter against code base #
54
54
# ###############################
55
55
- 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
57
57
env :
58
58
GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
59
59
DEFAULT_BRANCH : main
Original file line number Diff line number Diff line change 29
29
cache : npm
30
30
node-version-file : .node-version
31
31
- 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"
33
33
- uses : dev-hato/actions-diff-pr-management@cea263ca46759ebc8c812b8595be4df129761037 # v2.1.0
34
34
with :
35
35
github-token : ${{secrets.GITHUB_TOKEN}}
Original file line number Diff line number Diff line change 1
1
---
2
2
repos :
3
3
- repo : https://github.com/zricethezav/gitleaks
4
- rev : v8.21.2
4
+ rev : v8.24.0
5
5
hooks :
6
6
- id : gitleaks
You can’t perform that action at this time.
0 commit comments