Skip to content

Commit c5df50c

Browse files
authored
Update tests (#1003)
1 parent a186b8b commit c5df50c

File tree

13 files changed

+782
-1027
lines changed

13 files changed

+782
-1027
lines changed

.eslintrc

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"parser": "@babel/eslint-parser",
33
"extends": ["eslint:recommended", "eslint-config-prettier"],
44
"parserOptions": {
5-
"ecmaVersion": 2017,
5+
"ecmaVersion": "latest",
66
"sourceType": "module"
77
},
88
"rules": {
@@ -12,7 +12,6 @@
1212
"linebreak-style": ["error", "unix"],
1313
"max-len": ["error", 110, 2],
1414
"new-cap": "off",
15-
"no-case-declarations": "error",
1615
"no-cond-assign": "off",
1716
"no-confusing-arrow": "error",
1817
"no-console": "off",
@@ -28,8 +27,6 @@
2827
"no-underscore-dangle": "off",
2928
"no-unreachable": "off",
3029
"no-use-before-define": "off",
31-
"no-var": "error",
32-
"prefer-const": "error",
3330
"strict": "off",
3431
"prettier/prettier": "error"
3532
},

.github/workflows/ci.yml

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,10 @@ jobs:
1212
matrix:
1313
os: [ubuntu-latest, windows-latest]
1414
node-version: [14, 16, 18, 20]
15-
webpack-version: ['5']
15+
webpack-version: ["5"]
1616
include:
1717
- node-version: "14.15.0" # The minimum supported node version
18-
webpack-version: latest
18+
webpack-version: "5.0.0" # The minimum supported webpack version
1919
os: ubuntu-latest
2020
runs-on: ${{ matrix.os }}
2121
steps:
@@ -24,7 +24,7 @@ jobs:
2424
uses: actions/setup-node@v3
2525
with:
2626
node-version: ${{ matrix.node-version }}
27-
cache: 'yarn'
27+
cache: "yarn"
2828
- name: Install dependencies
2929
run: yarn
3030
- name: Install webpack ${{ matrix.webpack-version }}
@@ -47,7 +47,7 @@ jobs:
4747
uses: actions/setup-node@v3
4848
with:
4949
node-version: ${{ matrix.node-version }}
50-
cache: 'yarn'
50+
cache: "yarn"
5151
- name: Install dependencies
5252
run: yarn
5353
- name: Run lint and coverage tests
@@ -56,4 +56,3 @@ jobs:
5656
uses: codecov/codecov-action@v3
5757
with:
5858
token: ${{ secrets.CODECOV_TOKEN }}
59-

.yarnrc.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
1-
yarnPath: .yarn/releases/yarn-3.6.4.cjs
1+
nodeLinker: node-modules
2+
yarnPath: .yarn/releases/yarn-3.6.4.cjs

0 commit comments

Comments
 (0)