File tree Expand file tree Collapse file tree 3 files changed +18
-8
lines changed Expand file tree Collapse file tree 3 files changed +18
-8
lines changed Original file line number Diff line number Diff line change 6565 - name : Setup node
6666 uses : actions/setup-node@v2
6767 with :
68- node-version : ' 17 '
68+ node-version : ' 21 '
6969
7070 - uses : actions/checkout@v2
7171
8282 - name : Setup node
8383 uses : actions/setup-node@v2
8484 with :
85- node-version : ' 17 '
85+ node-version : ' 21 '
8686
8787 - uses : actions/checkout@v2
8888
Original file line number Diff line number Diff line change 22 // http://eslint.org/docs/rules/
33
44 "parserOptions": {
5- "ecmaVersion": 2020,
6- "sourceType": "module",
75 "ecmaFeatures": {
86 "binaryLiterals": false, // enable binary literals
97 "blockBindings": false, // enable let and const (aka block bindings)
2422 },
2523
2624 "env": {
27- "es2020": true,
2825 "browser": false, // browser global variables.
29- "node": true , // Node.js global variables and Node.js-specific rules.
26+ "node": false , // Node.js global variables and Node.js-specific rules.
3027 "amd": false, // defines require() and define() as global variables as per the amd spec.
3128 "mocha": false, // adds all of the Mocha testing global variables.
3229 "jasmine": false, // adds all of the Jasmine testing global variables for version 1.3 and 2.0.
4744 "rules": {
4845 ////////// Possible Errors //////////
4946
50- "no-comma-dangle": "off", // disallow trailing commas in object literals
47+ "no-comma-dangle": 0, // disallow trailing commas in object literals
5148 "no-cond-assign": 0, // disallow assignment in conditional expressions
5249 "no-console": 0, // disallow use of console (off by default in the node environment)
5350 "no-constant-condition": 0, // disallow use of constant expressions in conditions
You can’t perform that action at this time.
0 commit comments