Created
October 10, 2018 09:18
-
-
Save jay7793/3c29dd02cb329900fda39e0865561f6d to your computer and use it in GitHub Desktop.
ESLint config normal Vue.js application
This file contains 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
module.exports = { | |
root: true, | |
env: { | |
browser: true, | |
node: true | |
}, | |
parserOptions: { | |
parser: 'babel-eslint' | |
}, | |
extends: [ | |
"plugin:vue/recommended", | |
"plugin:prettier/recommended" | |
], | |
// required to lint *.vue files | |
plugins: [ | |
'vue' | |
], | |
// add your custom rules here | |
rules: { | |
"semi": [2, "never"], | |
"no-console": "off", | |
"vue/max-attributes-per-line": "off", | |
"vue/require-default-prop": "off", | |
"prettier/prettier": ["error", { "semi": false, singleQuote: true }] | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment