Update ESLint devDependencies in package.json

This patch updates outdated JavaScript dev dependencies.

The latest ESLint version adds rules changes. Some rules are disabled
to prevent checks failures, some minor issues are fixed.

Change-Id: I01c5ccb5c8f7ceb827a3978157b4d76805d259c1
This commit is contained in:
Tatiana Ovchinnikova 2020-12-16 11:31:23 -06:00
parent 6f0200032d
commit 807a33e1c8
11 changed files with 34 additions and 31 deletions

View File

@ -37,6 +37,8 @@ rules:
space-in-parens: 1 space-in-parens: 1
no-use-before-define: 1 no-use-before-define: 1
no-unneeded-ternary: 1 no-unneeded-ternary: 1
consistent-return: 0
no-unmodified-loop-condition: 0
############################################################################# #############################################################################
# Angular Plugin Customization # Angular Plugin Customization

View File

@ -12,6 +12,7 @@ rules:
one-var: 0 one-var: 0
space-infix-ops: 0 space-infix-ops: 0
space-after-keywords: 0 space-after-keywords: 0
keyword-spacing: 0
no-console: 0 no-console: 0
no-multiple-empty-lines: 0 no-multiple-empty-lines: 0
no-sync: 0 no-sync: 0

View File

@ -6,14 +6,14 @@
"repository": "none", "repository": "none",
"license": "Apache 2.0", "license": "Apache 2.0",
"devDependencies": { "devDependencies": {
"eslint": "1.10.3", "eslint": "3.0.0",
"eslint-config-openstack": "1.2.4", "eslint-config-openstack": "4.0.1",
"eslint-plugin-angular": "1.0.1", "eslint-plugin-angular": "4.0.1",
"jasmine-core": "2.4.1", "jasmine-core": "2.4.1",
"karma": "1.1.2", "karma": "1.1.2",
"karma-firefox-launcher": "2.1.0",
"karma-cli": "1.0.1", "karma-cli": "1.0.1",
"karma-coverage": "1.1.1", "karma-coverage": "1.1.1",
"karma-firefox-launcher": "2.1.0",
"karma-jasmine": "1.0.2", "karma-jasmine": "1.0.2",
"karma-ng-html2js-preprocessor": "1.0.0", "karma-ng-html2js-preprocessor": "1.0.0",
"karma-threshold-reporter": "0.1.15" "karma-threshold-reporter": "0.1.15"