Skip to content

Commit b75eb48

Browse files
TCA-647 clean up
1 parent 8da0c84 commit b75eb48

File tree

1 file changed

+35
-35
lines changed

1 file changed

+35
-35
lines changed

src-ts/.eslintrc.js

Lines changed: 35 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@ module.exports = {
1313
parser: '@typescript-eslint/parser',
1414
parserOptions: {
1515
useJSXTextNode: true,
16-
project: "./tsconfig.json",
17-
tsconfigRootDir: ".",
16+
project: './tsconfig.json',
17+
tsconfigRootDir: '.',
1818
tsx: true,
1919
jsx: true,
2020
sourceType: 'module',
@@ -28,19 +28,19 @@ module.exports = {
2828
],
2929
settings: {
3030
react: {
31-
"version": "detect"
31+
'version': 'detect'
3232
},
33-
"import/resolver": {
33+
'import/resolver': {
3434
typescript: {},
3535
}
3636
},
3737
rules: {
38-
"@typescript-eslint/ban-types": [
39-
"error",
38+
'@typescript-eslint/ban-types': [
39+
'error',
4040
{
41-
"extendDefaults": true,
42-
"types": {
43-
"{}": false
41+
'extendDefaults': true,
42+
'types': {
43+
'{}': false
4444
}
4545
}
4646
],
@@ -59,8 +59,8 @@ module.exports = {
5959
}
6060
],
6161
'arrow-parens': [
62-
"error",
63-
"as-needed"
62+
'error',
63+
'as-needed'
6464
],
6565
'complexity': [
6666
'error',
@@ -82,8 +82,8 @@ module.exports = {
8282
'jsx-a11y/tabindex-no-positive': [
8383
'warn'
8484
],
85-
'no-extra-boolean-cast': "off",
86-
"no-null/no-null": "error",
85+
'no-extra-boolean-cast': 'off',
86+
'no-null/no-null': 'error',
8787
'no-plusplus': [
8888
'error',
8989
{
@@ -108,51 +108,51 @@ module.exports = {
108108
'error',
109109
'before'
110110
],
111-
"ordered-imports/ordered-imports": [
112-
"error",
111+
'ordered-imports/ordered-imports': [
112+
'error',
113113
{
114-
"symbols-first": true,
115-
"declaration-ordering": [
116-
"type", {
114+
'symbols-first': true,
115+
'declaration-ordering': [
116+
'type', {
117117
ordering: [
118-
"namespace",
119-
"destructured",
120-
"default",
121-
"side-effect",
118+
'namespace',
119+
'destructured',
120+
'default',
121+
'side-effect',
122122
],
123123
secondaryOrdering: [
124-
"name",
125-
"lowercase-last"
124+
'name',
125+
'lowercase-last'
126126
],
127127
}
128128
],
129-
"specifier-ordering": "case-insensitive",
130-
"group-ordering": [
129+
'specifier-ordering': 'case-insensitive',
130+
'group-ordering': [
131131
{
132-
name: "project root",
133-
match: "^@",
132+
name: 'project root',
133+
match: '^@',
134134
order: 20
135135
},
136136
{
137-
name: "parent directories",
138-
match: "^\\.\\.",
137+
name: 'parent directories',
138+
match: '^\\.\\.',
139139
order: 30
140140
},
141141
{
142-
name: "current directory",
143-
match: "^\\.",
142+
name: 'current directory',
143+
match: '^\\.',
144144
order: 40
145145
},
146146
{
147-
name: "third-party",
148-
match: ".*",
147+
name: 'third-party',
148+
match: '.*',
149149
order: 10
150150
},
151151
],
152152
},
153153
],
154154
'padded-blocks': 'off',
155-
"padding-line-between-statements": [
155+
'padding-line-between-statements': [
156156
'error',
157157
{ blankLine: 'always', prev: 'directive', next: '*' },
158158
{ blankLine: 'any', prev: 'directive', next: 'directive' },

0 commit comments

Comments
 (0)