2
0
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:
Jeff Sagal
2021-08-01 11:46:17 -07:00
committed by GitHub
parent 96819ebb91
commit a64ffc32d0
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": "npm run eslint -- --fix",
"semantic-release": "semantic-release",
"commit": "git-cz"
},