add eslint support to vue files
Showing
... | @@ -2,9 +2,9 @@ | ... | @@ -2,9 +2,9 @@ |
"private": true, | "private": true, | ||
"scripts": { | "scripts": { | ||
"dev-server": "webpack-dev-server --config config/webpack.config.js", | "dev-server": "webpack-dev-server --config config/webpack.config.js", | ||
"eslint": "eslint --max-warnings 0 --ext .js .", | "eslint": "eslint --max-warnings 0 --ext .js,.vue .", | ||
"eslint-fix": "eslint --max-warnings 0 --ext .js --fix .", | "eslint-fix": "eslint --max-warnings 0 --ext .js,.vue --fix .", | ||
"eslint-report": "eslint --max-warnings 0 --ext .js --format html --output-file ./eslint-report.html .", | "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": "karma start config/karma.config.js --single-run", | ||
"karma-coverage": "BABEL_ENV=coverage 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", | "karma-start": "karma start config/karma.config.js", | ||
... | @@ -25,6 +25,7 @@ | ... | @@ -25,6 +25,7 @@ |
"document-register-element": "^1.3.0", | "document-register-element": "^1.3.0", | ||
"dropzone": "^4.2.0", | "dropzone": "^4.2.0", | ||
"emoji-unicode-version": "^0.2.1", | "emoji-unicode-version": "^0.2.1", | ||
"eslint-plugin-html": "^2.0.1", | |||
"file-loader": "^0.11.1", | "file-loader": "^0.11.1", | ||
"jquery": "^2.2.1", | "jquery": "^2.2.1", | ||
"jquery-ujs": "^1.2.1", | "jquery-ujs": "^1.2.1", | ||
... | ... |
Please register or sign in to comment