Created
June 13, 2017 14:44
-
-
Save komatzz/450a98ed47c1c8e78b18fb8de4888c72 to your computer and use it in GitHub Desktop.
vue ファイルをリント(ESLint)する ref: http://qiita.com/komatzz/items/3cc7cc34699747efb675
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Show hidden characters
| { | |
| "extends": "google", | |
| "plugins": [ | |
| "html" | |
| ], | |
| "env": { | |
| "browser": true, | |
| "es6": true | |
| }, | |
| "parserOptions": { | |
| "sourceType": "module" | |
| } | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "scripts": { | |
| "lint": "eslint --ext js,vue ./", | |
| "lint:fix": "eslint --fix --ext js,vue ./" | |
| } | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment