mirror of
https://github.com/tenrok/vue-select.git
synced 2026-05-17 02:29:37 +03:00
build: update eslint config (#1470)
This commit is contained in:
+11
-3
@@ -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
@@ -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": "npm run eslint -- --fix",
|
||||
"semantic-release": "semantic-release",
|
||||
"commit": "git-cz"
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user