Skip to content
This repository was archived by the owner on Sep 20, 2024. It is now read-only.

Commit 8640524

Browse files
committed
chore: add template literal indent rule to eslint config
1 parent d727b78 commit 8640524

File tree

1 file changed

+12
-1
lines changed

1 file changed

+12
-1
lines changed

.eslintrc.js

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,18 @@ module.exports = {
1717
curly: 'off',
1818
'testing-library/no-debug': 'error',
1919
'testing-library/prefer-screen-queries': 'error',
20-
'testing-library/await-fire-event': 'error'
20+
'testing-library/await-fire-event': 'error',
21+
indent: [
22+
'error',
23+
2,
24+
{
25+
SwitchCase: 1,
26+
ignoredNodes: [
27+
'TemplateLiteral'
28+
]
29+
}
30+
],
31+
'template-curly-spacing': 0
2132
},
2233
parserOptions: {
2334
parser: 'babel-eslint'

0 commit comments

Comments
 (0)