Skip to content

Commit

Permalink
fix(关闭 prettier检查): 关闭
Browse files Browse the repository at this point in the history
  • Loading branch information
白唯 committed Oct 13, 2020
1 parent 8858aee commit c8b5d4f
Show file tree
Hide file tree
Showing 2 changed files with 37 additions and 37 deletions.
58 changes: 29 additions & 29 deletions .eslintrc.js
Original file line number Diff line number Diff line change
@@ -1,29 +1,29 @@
module.exports = {
root: true,
parserOptions: {
parser: '@typescript-eslint/parser'
},
env: {
browser: true,
es6: true,
node: true
},
plugins: ['prettier', 'vue', '@typescript-eslint/eslint-plugin'],
rules: {
'prettier/prettier': 'error',
'no-unused-vars': 'off',
'@typescript-eslint/no-explicit-any': 'off',
'@typescript-eslint/member-delimiter-style': 'off',
'@typescript-eslint/no-var-requires': 'off',
'@typescript-eslint/ban-ts-ignore': 'off'
},
extends: ['plugin:vue/vue3-essential', 'eslint:recommended', '@vue/typescript/recommended'],
overrides: [
{
files: ['**/tests/*.{j,t}s?(x)', '**/tests/**/*.spec.{j,t}s?(x)', '**/tests/*.spec.{j,t}s?(x)'],
env: {
mocha: true
}
}
]
}
module.exports = {
root: true,
parserOptions: {
parser: '@typescript-eslint/parser'
},
env: {
browser: true,
es6: true,
node: true
},
plugins: ['prettier', 'vue', '@typescript-eslint/eslint-plugin'],
rules: {
'prettier/prettier': 'off',
'no-unused-vars': 'off',
'@typescript-eslint/no-explicit-any': 'off',
'@typescript-eslint/member-delimiter-style': 'off',
'@typescript-eslint/no-var-requires': 'off',
'@typescript-eslint/ban-ts-ignore': 'off'
},
extends: ['plugin:vue/vue3-essential', 'eslint:recommended', '@vue/typescript/recommended'],
overrides: [
{
files: ['**/tests/*.{j,t}s?(x)', '**/tests/**/*.spec.{j,t}s?(x)', '**/tests/*.spec.{j,t}s?(x)'],
env: {
mocha: true
}
}
]
}
16 changes: 8 additions & 8 deletions src/store/state.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
const state = {
fullLoading: false,
loadingText: 'Loading...'
}

type RootStateType = typeof state

export { state, RootStateType }
const state = {
fullLoading: false,
loadingText: 'Loading...'
}

type RootStateType = typeof state

export { state, RootStateType }

0 comments on commit c8b5d4f

Please sign in to comment.