Skip to content

Commit f76d136

Browse files
committed
chore: config file ext change
1 parent 0634bef commit f76d136

File tree

3 files changed

+27
-25
lines changed

3 files changed

+27
-25
lines changed

.eslintrc.js renamed to .eslintrc

+6-4
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
module.exports = {
1+
{
22
env: {
33
browser: true,
44
es2021: true,
@@ -16,7 +16,8 @@ module.exports = {
1616
parser: '@typescript-eslint/parser',
1717
sourceType: 'module'
1818
},
19-
plugins: ['vue', '@typescript-eslint'],
19+
plugins: ['vue', '@typescript-eslint'
20+
],
2021
rules: {
2122
'vue/valid-template-root': 0,
2223
'@typescript-eslint/no-explicit-any': 0,
@@ -25,7 +26,8 @@ module.exports = {
2526
},
2627
overrides: [
2728
{
28-
files: ['*.ts', '*.vue', '*.tsx'],
29+
files: ['*.ts', '*.vue', '*.tsx'
30+
],
2931
rules: {
3032
'no-undef': 0,
3133
'@typescript-eslint/triple-slash-reference': 0
@@ -38,4 +40,4 @@ module.exports = {
3840
}
3941
}
4042
]
41-
}
43+
}

.prettierrc

+21
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
{
2+
"arrowParens": "always",
3+
"bracketSpacing": true,
4+
"endOfLine": "lf",
5+
"htmlWhitespaceSensitivity": "ignore",
6+
"insertPragma": false,
7+
"singleAttributePerLine": false,
8+
"bracketSameLine": false,
9+
"jsxBracketSameLine": false,
10+
"jsxSingleQuote": true,
11+
"printWidth": 120,
12+
"proseWrap": "preserve",
13+
"quoteProps": "as-needed",
14+
"requirePragma": false,
15+
"semi": false,
16+
"singleQuote": true,
17+
"tabWidth": 2,
18+
"trailingComma": "none",
19+
"useTabs": false,
20+
"vueIndentScriptAndStyle": true
21+
}

.prettierrc.js

-21
This file was deleted.

0 commit comments

Comments
 (0)