-
-
Save sokna7/257168c5dfad13920790528139da3962 to your computer and use it in GitHub Desktop.
vue ts eslintrc example
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, | |
es6: true, | |
}, | |
parser: 'vue-eslint-parser', | |
parserOptions: { | |
parser: '@typescript-eslint/parser', | |
sourceType: 'module', | |
}, | |
extends: [ | |
'eslint:recommended', | |
'plugin:@typescript-eslint/recommended', | |
'prettier/@typescript-eslint', | |
'plugin:vue/essential', | |
'prettier', | |
], | |
rules: { | |
'prettier/prettier': 'error', | |
}, | |
plugins: ['@typescript-eslint', 'prettier'], | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment