Skip to content

Commit

Permalink
NPM update and ecmaVersion latest
Browse files Browse the repository at this point in the history
  • Loading branch information
almunnings committed Oct 19, 2023
1 parent 62a6df9 commit d362b0e
Show file tree
Hide file tree
Showing 4 changed files with 596 additions and 326 deletions.
3 changes: 3 additions & 0 deletions core/drupal/.eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@
"es6": true,
"node": true
},
"parserOptions": {
"ecmaVersion": 2020
},
"globals": {
"Drupal": true,
"drupalSettings": true,
Expand Down
5 changes: 3 additions & 2 deletions drupal.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,15 +11,16 @@ const opinionated = {
"class-methods-use-this": 0,
"new-cap": "warn",
"prefer-const": "warn",
"no-new": 0,
"no-new": 0
},
"globals": {
"$": true
},
"parser": "@babel/eslint-parser",
"parserOptions": {
"allowImportExportEverywhere": true,
"requireConfigFile": false
"requireConfigFile": false,
"ecmaVersion": "latest"
}
}

Expand Down
Loading

0 comments on commit d362b0e

Please sign in to comment.