Skip to content

Commit 5291cc9

Browse files
committed
feat: add style/jsx-quotes rule
1 parent 1261b2e commit 5291cc9

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

src/configs/stylistic.ts

+1
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,7 @@ export function stylistic(): FlatESLintConfigItem[] {
6464
offsetTernaryExpressions: true,
6565
outerIIFEBody: 1,
6666
}],
67+
'style/jsx-quotes': 'error',
6768
'style/key-spacing': ['error', { afterColon: true, beforeColon: false }],
6869
'style/keyword-spacing': ['error', { after: true, before: true }],
6970
'style/lines-between-class-members': ['error', 'always', { exceptAfterSingleLine: true }],

tsconfig.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
{
22
"compilerOptions": {
33
"target": "es2020",
4+
"baseUrl": ".",
45
"module": "es2020",
56
"moduleResolution": "Bundler",
6-
"baseUrl": ".",
7-
"esModuleInterop": true,
87
"strict": true,
8+
"esModuleInterop": true,
99
"skipLibCheck": true
1010
},
1111
"include": [

0 commit comments

Comments
 (0)