Created
February 9, 2021 01:38
-
-
Save cqsd/4a2bc334b53690a1835129eb7304daf0 to your computer and use it in GitHub Desktop.
default typescript vue project eslint + prettier
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 = { | |
env: { | |
browser: true, | |
es2021: true, | |
node: true, | |
}, | |
extends: [ | |
'plugin:@typescript-eslint/recommended', | |
'plugin:prettier/recommended', | |
'plugin:vue/vue3-essential', | |
'prettier/@typescript-eslint', | |
], | |
parserOptions: { | |
ecmaVersion: 12, | |
parser: '@typescript-eslint/parser', | |
sourceType: 'module', | |
}, | |
plugins: ['@typescript-eslint'], | |
rules: {}, | |
} |
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
{ | |
"trailingComma": "es5", | |
"tabWidth": 2, | |
"semi": false, | |
"singleQuote": true | |
} |
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
@typescript-eslint/eslint-plugin | |
@typescript-eslint/parser | |
eslint | |
eslint-config-prettier | |
eslint-plugin-prettier | |
eslint-plugin-vue | |
prettier | |
typescript |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment