Skip to content

Commit 6ccbca3

Browse files
committed
chore: configure eslint
1 parent a8dff21 commit 6ccbca3

File tree

3 files changed

+6
-3
lines changed

3 files changed

+6
-3
lines changed

eslint.config.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,8 @@ export default tseslint.config({
148148
]
149149
}],
150150
"@stylistic/no-trailing-spaces": ["off"],
151-
"@stylistic/no-multi-spaces": ["warn"]
151+
"@stylistic/no-multi-spaces": ["warn"],
152+
"@stylistic/generator-star-spacing": ["off"]
152153
}
153154
}, {
154155
files: ["**/**.{,c,m}ts"],

templates/electron-typescript-react/eslint.config.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,8 @@ export default tseslint.config({
124124
]
125125
}],
126126
"@stylistic/no-trailing-spaces": ["off"],
127-
"@stylistic/no-multi-spaces": ["warn"]
127+
"@stylistic/no-multi-spaces": ["warn"],
128+
"@stylistic/generator-star-spacing": ["off"]
128129
}
129130
}, {
130131
files: ["**/**.{ts,tsx}"],

templates/node-typescript/eslint.config.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,8 @@ export default tseslint.config({
127127
]
128128
}],
129129
"@stylistic/no-trailing-spaces": ["off"],
130-
"@stylistic/no-multi-spaces": ["warn"]
130+
"@stylistic/no-multi-spaces": ["warn"],
131+
"@stylistic/generator-star-spacing": ["off"]
131132
}
132133
}, {
133134
files: ["**/**.{,c,m}ts"],

0 commit comments

Comments
 (0)