Skip to content

Commit 09a029b

Browse files
authored
chore: update packages and node version (#24)
2 parents 8a96c00 + 412c872 commit 09a029b

File tree

6,351 files changed

+238
-1873580
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

6,351 files changed

+238
-1873580
lines changed

.github/workflows/bump-version.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
- uses: actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8 # tag=v3
1818
- uses: actions/setup-node@8c91899e586c5b171469028077307d293428b516 # tag=v3
1919
with:
20-
node-version: 16
20+
node-version-file: '.nvmrc'
2121
cache: "npm"
2222
- run: |
2323
npm ci

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,3 +23,5 @@ megalinter-reports/
2323

2424
# logs
2525
*.log
26+
27+
node_modules/

.pre-commit-config.yaml

Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,50 @@
1+
# See https://pre-commit.com for more information
2+
# See https://pre-commit.com/hooks.html for more hooks
3+
4+
exclude: '(^themes.*|^static/files/.*)'
5+
repos:
6+
- repo: https://github.com/pre-commit/pre-commit-hooks
7+
rev: v4.3.0
8+
hooks:
9+
- id: trailing-whitespace
10+
- id: check-yaml
11+
files: \.yaml$, \.yml$
12+
types: [file]
13+
- id: check-case-conflict
14+
- id: check-json
15+
files: \.json$
16+
types: [file]
17+
- id: check-symlinks
18+
- id: check-toml
19+
files: \.toml$
20+
types: [file]
21+
- id: check-xml
22+
files: \.xml$
23+
types: [file]
24+
- id: check-merge-conflict
25+
- id: mixed-line-ending
26+
args: [ --fix=no ]
27+
- id: pretty-format-json
28+
files: '!htmltest_output/refcache.json$'
29+
30+
- repo: https://github.com/pre-commit/mirrors-eslint
31+
rev: v8.26.0
32+
hooks:
33+
- id: eslint
34+
files: \.[jt]sx?$ # *.js, *.jsx, *.ts and *.tsx
35+
types: [file]
36+
additional_dependencies:
37+
- eslint-config-prettier@8.5.0
38+
- eslint-plugin-deprecation@1.3.2
39+
- eslint-plugin-import@2.26.0
40+
- eslint-plugin-unused-imports@2.0.0
41+
42+
- repo: https://github.com/syntaqx/git-hooks
43+
rev: v0.0.17
44+
hooks:
45+
- id: shellcheck
46+
files: \.sh$
47+
types: [file]
48+
- id: shfmt
49+
files: \.sh$
50+
types: [file]

node_modules/.bin/_mocha

Lines changed: 0 additions & 1 deletion
This file was deleted.

node_modules/.bin/acorn

Lines changed: 0 additions & 1 deletion
This file was deleted.

node_modules/.bin/eslint

Lines changed: 0 additions & 1 deletion
This file was deleted.

node_modules/.bin/eslint-config-prettier

Lines changed: 0 additions & 1 deletion
This file was deleted.

node_modules/.bin/flat

Lines changed: 0 additions & 1 deletion
This file was deleted.

node_modules/.bin/he

Lines changed: 0 additions & 1 deletion
This file was deleted.

node_modules/.bin/js-yaml

Lines changed: 0 additions & 1 deletion
This file was deleted.

0 commit comments

Comments
 (0)