Skip to content

Commit 2b9b077

Browse files
TCA-647 prettier rules
1 parent 734c4a7 commit 2b9b077

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

src-ts/.eslintrc.js

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,10 @@ module.exports = {
5454
allowNullableString: true
5555
}
5656
],
57+
'arrow-parens': [
58+
"error",
59+
"as-needed"
60+
],
5761
'import/extensions': 'off',
5862
'import/prefer-default-export': 'off',
5963
'indent': [
@@ -63,6 +67,10 @@ module.exports = {
6367
SwitchCase: 1,
6468
},
6569
],
70+
'jsx-quotes': [
71+
'error',
72+
'prefer-single'
73+
],
6674
'jsx-a11y/tabindex-no-positive': [
6775
'warn'
6876
],
@@ -86,6 +94,12 @@ module.exports = {
8694
functions: false,
8795
}
8896
],
97+
'object-curly-newline': 'off',
98+
'operator-linebreak': [
99+
'error',
100+
'before'
101+
],
102+
'padded-blocks': 'off',
89103
"padding-line-between-statements": [
90104
'error',
91105
{ blankLine: 'always', prev: 'directive', next: '*' },

0 commit comments

Comments
 (0)