Skip to content

Commit c8b5d4f

Browse files
author
白唯
committed
fix(关闭 prettier检查): 关闭
1 parent 8858aee commit c8b5d4f

File tree

2 files changed

+37
-37
lines changed

2 files changed

+37
-37
lines changed

.eslintrc.js

+29-29
Original file line numberDiff line numberDiff line change
@@ -1,29 +1,29 @@
1-
module.exports = {
2-
root: true,
3-
parserOptions: {
4-
parser: '@typescript-eslint/parser'
5-
},
6-
env: {
7-
browser: true,
8-
es6: true,
9-
node: true
10-
},
11-
plugins: ['prettier', 'vue', '@typescript-eslint/eslint-plugin'],
12-
rules: {
13-
'prettier/prettier': 'error',
14-
'no-unused-vars': 'off',
15-
'@typescript-eslint/no-explicit-any': 'off',
16-
'@typescript-eslint/member-delimiter-style': 'off',
17-
'@typescript-eslint/no-var-requires': 'off',
18-
'@typescript-eslint/ban-ts-ignore': 'off'
19-
},
20-
extends: ['plugin:vue/vue3-essential', 'eslint:recommended', '@vue/typescript/recommended'],
21-
overrides: [
22-
{
23-
files: ['**/tests/*.{j,t}s?(x)', '**/tests/**/*.spec.{j,t}s?(x)', '**/tests/*.spec.{j,t}s?(x)'],
24-
env: {
25-
mocha: true
26-
}
27-
}
28-
]
29-
}
1+
module.exports = {
2+
root: true,
3+
parserOptions: {
4+
parser: '@typescript-eslint/parser'
5+
},
6+
env: {
7+
browser: true,
8+
es6: true,
9+
node: true
10+
},
11+
plugins: ['prettier', 'vue', '@typescript-eslint/eslint-plugin'],
12+
rules: {
13+
'prettier/prettier': 'off',
14+
'no-unused-vars': 'off',
15+
'@typescript-eslint/no-explicit-any': 'off',
16+
'@typescript-eslint/member-delimiter-style': 'off',
17+
'@typescript-eslint/no-var-requires': 'off',
18+
'@typescript-eslint/ban-ts-ignore': 'off'
19+
},
20+
extends: ['plugin:vue/vue3-essential', 'eslint:recommended', '@vue/typescript/recommended'],
21+
overrides: [
22+
{
23+
files: ['**/tests/*.{j,t}s?(x)', '**/tests/**/*.spec.{j,t}s?(x)', '**/tests/*.spec.{j,t}s?(x)'],
24+
env: {
25+
mocha: true
26+
}
27+
}
28+
]
29+
}

src/store/state.ts

+8-8
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
const state = {
2-
fullLoading: false,
3-
loadingText: 'Loading...'
4-
}
5-
6-
type RootStateType = typeof state
7-
8-
export { state, RootStateType }
1+
const state = {
2+
fullLoading: false,
3+
loadingText: 'Loading...'
4+
}
5+
6+
type RootStateType = typeof state
7+
8+
export { state, RootStateType }

0 commit comments

Comments
 (0)