Created
November 28, 2017 12:16
-
-
Save nulpatrol/1e3dcd06fc578cbadd74f41cf0989ce9 to your computer and use it in GitHub Desktop.
ESLint Vue Plugin
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
| { | |
| "root": true, | |
| "parser": "vue-eslint-parser", | |
| "parserOptions": { | |
| "parser": "babel-eslint", | |
| "ecmaVersion": 2017, | |
| "sourceType": "module" | |
| }, | |
| "env": { | |
| "browser": true | |
| }, | |
| "extends": [ | |
| "airbnb-base", | |
| "plugin:vue/base", | |
| "plugin:vue/essential", | |
| "plugin:vue/recommended", | |
| "plugin:vue/strongly-recommended" | |
| ], | |
| "plugins": [ | |
| "html" | |
| ], | |
| "globals": { | |
| "_": false | |
| }, | |
| "rules": { | |
| "no-param-reassign": 0, | |
| "no-multi-assign": 0, | |
| "indent": [ | |
| "error", | |
| 4 | |
| ], | |
| "linebreak-style": [ | |
| "error", | |
| "unix" | |
| ], | |
| "quotes": [ | |
| "error", | |
| "single" | |
| ], | |
| "semi": [ | |
| "error", | |
| "always" | |
| ], | |
| "no-console": "off", | |
| "import/extensions": ["error", "always", { | |
| "js": "never", | |
| "vue": "never" | |
| }] | |
| } | |
| } |
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
| "devDependencies": { | |
| ... | |
| "eslint-plugin-vue": "^4.0.0-beta.0", | |
| ... | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment