Skip to content

Commit 930715a

Browse files
committed
AC-13683::Investigate latest patch version of grunt-eslint
1 parent 1dad01b commit 930715a

File tree

3 files changed

+18
-8
lines changed

3 files changed

+18
-8
lines changed

.github/workflows/php.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ jobs:
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

@@ -82,7 +82,7 @@ jobs:
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

eslint/.eslintrc-reset

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@
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)
@@ -24,9 +22,8 @@
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.
@@ -47,7 +44,7 @@
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

package-lock.json

Lines changed: 14 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)