2
0
mirror of https://github.com/tenrok/vue-select.git synced 2026-06-10 07:52:23 +03:00

update eslint config

This commit is contained in:
Jeff Sagal
2021-08-01 11:42:38 -07:00
parent 96819ebb91
commit 69d11c7f58
2 changed files with 13 additions and 5 deletions
+11 -3
View File
@@ -2,13 +2,21 @@ module.exports = {
parser: 'vue-eslint-parser',
parserOptions: {
parser: 'babel-eslint',
sourceType: 'module'
sourceType: 'module',
},
plugins: ['prettier'],
extends: [
'plugin:prettier/recommended',
'plugin:vue/recommended',
'prettier/vue'
'prettier/vue',
],
ignorePatterns: [
'!.*.js',
'!docs/.vuepress',
'docs/.vuepress/dist',
'node_modules',
'dist',
'coverage',
'yarn.lock',
],
ignorePatterns: ['node_modules/', 'dist/', 'coverage/']
}
+2 -2
View File
@@ -19,8 +19,8 @@
"build:docs": "cd docs && yarn build",
"build:preview": "cd docs && yarn build",
"test": "jest",
"eslint": "eslint '**/*.{js,vue}'",
"eslint:fix": "eslint --fix '**/*.{js,vue}'",
"eslint": "eslint '{**/*,*}.{js,ts,jsx,tsx,vue}'",
"eslint:fix": "yarn run eslint --fix",
"semantic-release": "semantic-release",
"commit": "git-cz"
},