Skip to content

Commit cd428be

Browse files
committed
feat: Upgrade github workflows
1 parent 5695128 commit cd428be

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

.github/workflows/node.js.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616

1717
strategy:
1818
matrix:
19-
node-version: [12.x, 14.x, 16.x]
19+
node-version: [16.x, 18.x]
2020
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/
2121

2222
steps:

eslintrc.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@
131131
"no-unsafe-finally": "error",
132132
"no-unsafe-negation": "error",
133133
"no-unused-expressions": ["error", { "allowShortCircuit": true, "allowTernary": true, "allowTaggedTemplates": true }],
134-
"no-unused-vars": ["error", { "vars": "all", "args": "none", "ignoreRestSiblings": true }],
134+
"no-unused-vars": ["error", { "vars": "all", "args": "none", "ignoreRestSiblings": true, "varsIgnorePattern": "Vector2D" }],
135135
"no-use-before-define": ["error", { "functions": false, "classes": false, "variables": false }],
136136
"no-useless-call": 0,
137137
"no-useless-computed-key": "error",

src/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -174,5 +174,5 @@ export {
174174
PointZone,
175175
RectZone,
176176
ImageZone,
177-
Debug,
177+
Debug
178178
};

src/math/MathUtil.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ const MathUtil = {
3939

4040
toColor16(num) {
4141
return `#${num.toString(16)}`;
42-
},
42+
}
4343
};
4444

4545
export default MathUtil;

0 commit comments

Comments
 (0)