Skip to content

Commit

Permalink
update to eslint@8
Browse files Browse the repository at this point in the history
  • Loading branch information
zloirock committed Oct 12, 2021
1 parent 11bf5bd commit f1caa83
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 14 deletions.
5 changes: 1 addition & 4 deletions .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -986,11 +986,8 @@ const json = {

module.exports = {
root: true,
parser: '@babel/eslint-parser',
parserOptions: {
ecmaVersion: 2021,
requireConfigFile: false,
sourceType: 'script',
ecmaVersion: 2022,
},
env: {
// unnececery global builtins disabled by related rules
Expand Down
1 change: 1 addition & 0 deletions .npmrc
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
package-lock=false
legacy-peer-deps=true
7 changes: 3 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
"devDependencies": {
"@babel/cli": "^7.15.7",
"@babel/core": "^7.15.8",
"@babel/eslint-parser": "^7.15.8",
"@babel/plugin-proposal-class-properties": "^7.14.5",
"@babel/plugin-proposal-logical-assignment-operators": "^7.14.5",
"@babel/plugin-proposal-nullish-coalescing-operator": "^7.14.5",
Expand Down Expand Up @@ -34,16 +33,16 @@
"core-js-pure": "file:./packages/core-js-pure",
"david": "^12.0.0",
"es-observable": "git+https://github.com/tc39/proposal-observable.git#d3404f06bc70c7c578a5047dfb3dc813730e3319",
"eslint": "^7.32.0",
"eslint": "^8.0.0",
"eslint-plugin-es": "git+https://github.com/mysticatea/eslint-plugin-es.git#00d73851793541dc7b0d07292deb0ca2bc8a25e1",
"eslint-plugin-eslint-comments": "^3.2.0",
"eslint-plugin-import": "^2.24.2",
"eslint-plugin-import": "^2.25.1",
"eslint-plugin-jsonc": "^1.7.0",
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-qunit": "^6.2.0",
"eslint-plugin-regexp": "^1.4.1",
"eslint-plugin-sonarjs": "~0.10.0",
"eslint-plugin-unicorn": "^36.0.0",
"eslint-plugin-unicorn": "^37.0.1",
"jsonc-eslint-parser": "^1.4.1",
"karma": "^6.3.4",
"karma-chrome-launcher": "^3.1.0",
Expand Down
6 changes: 0 additions & 6 deletions scripts/check-dependencies.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,6 @@ const { eq, coerce, minVersion } = semver;
const getDependencies = promisify(david.getDependencies);

const ignoreEverywhere = new Set([
// `eslint` update is blocked by:
// https://github.com/import-js/eslint-plugin-import/pull/2191
// https://github.com/platinumazure/eslint-plugin-qunit/issues/208
'eslint',
// requires `eslint@8`
'eslint-plugin-unicorn',
'moon-unit',
]);

Expand Down

0 comments on commit f1caa83

Please sign in to comment.