Skip to content

Commit

Permalink
[INTERNAL] Upgrade ESlint / Use ES2021
Browse files Browse the repository at this point in the history
  • Loading branch information
matz3 committed Jan 24, 2022
1 parent dbf6c06 commit 50e2c7c
Show file tree
Hide file tree
Showing 3 changed files with 211 additions and 450 deletions.
9 changes: 4 additions & 5 deletions .eslintrc.js
Original file line number Diff line number Diff line change
@@ -1,10 +1,7 @@
module.exports = {
"env": {
"node": true,
"es6": true
},
"parserOptions": {
"ecmaVersion": 8
"es2021": true
},
"extends": ["eslint:recommended", "google"],
"plugins": [
Expand Down Expand Up @@ -48,7 +45,9 @@ module.exports = {
"valid-jsdoc": 0,
// jsdoc/check-examples is temporarily set to "warn" as the rule causes issues in our CI
// See: https://github.com/gajus/eslint-plugin-jsdoc/issues/508
"jsdoc/check-examples": 1,
// Starting with ESLint v8, it needs to be disabled as it currently can't be supported
// See: https://github.com/eslint/eslint/issues/14745
"jsdoc/check-examples": 0,
"jsdoc/check-param-names": 2,
"jsdoc/check-tag-names": 2,
"jsdoc/check-types": 2,
Expand Down
Loading

0 comments on commit 50e2c7c

Please sign in to comment.