diff options
author | Mike Greiling <mike@pixelcog.com> | 2017-04-06 17:03:23 -0500 |
---|---|---|
committer | Mike Greiling <mike@pixelcog.com> | 2017-04-09 15:22:53 -0500 |
commit | 8050d835d40fdecdadc1be463fce0c58b54da3ac (patch) | |
tree | ed008c40590c2ab5a3c302103babdabb6fbb6d80 /package.json | |
parent | 04f29d6ede22b8a335a9bab572f65be00db4dd64 (diff) | |
download | gitlab-ce-8050d835d40fdecdadc1be463fce0c58b54da3ac.tar.gz |
add eslint support to vue files
Diffstat (limited to 'package.json')
-rw-r--r-- | package.json | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/package.json b/package.json index 1126fe84675..5d9b1c34a47 100644 --- a/package.json +++ b/package.json @@ -2,9 +2,9 @@ "private": true, "scripts": { "dev-server": "webpack-dev-server --config config/webpack.config.js", - "eslint": "eslint --max-warnings 0 --ext .js .", - "eslint-fix": "eslint --max-warnings 0 --ext .js --fix .", - "eslint-report": "eslint --max-warnings 0 --ext .js --format html --output-file ./eslint-report.html .", + "eslint": "eslint --max-warnings 0 --ext .js,.vue .", + "eslint-fix": "eslint --max-warnings 0 --ext .js,.vue --fix .", + "eslint-report": "eslint --max-warnings 0 --ext .js,.vue --format html --output-file ./eslint-report.html .", "karma": "karma start config/karma.config.js --single-run", "karma-coverage": "BABEL_ENV=coverage karma start config/karma.config.js --single-run", "karma-start": "karma start config/karma.config.js", @@ -25,6 +25,7 @@ "document-register-element": "^1.3.0", "dropzone": "^4.2.0", "emoji-unicode-version": "^0.2.1", + "eslint-plugin-html": "^2.0.1", "file-loader": "^0.11.1", "jquery": "^2.2.1", "jquery-ujs": "^1.2.1", |