File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change 2222 },
2323
2424 "env": {
25+ "node": true,
26+ "es2020": true,
2527 "browser": false, // browser global variables.
2628 "node": false, // Node.js global variables and Node.js-specific rules.
2729 "amd": false, // defines require() and define() as global variables as per the amd spec.
4446 "rules": {
4547 ////////// Possible Errors //////////
4648
47- "no-comma-dangle": "off" , // disallow trailing commas in object literals
49+ "no-comma-dangle": 0 , // disallow trailing commas in object literals
4850 "no-cond-assign": 0, // disallow assignment in conditional expressions
4951 "no-console": 0, // disallow use of console (off by default in the node environment)
5052 "no-constant-condition": 0, // disallow use of constant expressions in conditions
You can’t perform that action at this time.
0 commit comments