Skip to content

Commit f9a1dfb

Browse files
fix eslint tests
1 parent fd3db1f commit f9a1dfb

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

tools/eslintConfigCreator_test.go

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ func TestCreateEslintConfigEmptyConfig(t *testing.T) {
3333
[]domain.PatternConfiguration{},
3434
`export default [
3535
{
36-
files: ["**/*.js", "**/*.jsx", "**/*.ts", "**/*.tsx", "**/*.mjs", "**/*.cjs", "**/*.vue"],
36+
files: ["**/*.js", "**/*.jsx", "**/*.ts", "**/*.tsx", "**/*.mjs", "**/*.cjs", "**/*.vue"],
3737
rules: {
3838
}
3939
}
@@ -51,7 +51,7 @@ func TestCreateEslintConfigConfig1(t *testing.T) {
5151
},
5252
`export default [
5353
{
54-
files: ["**/*.js", "**/*.jsx", "**/*.ts", "**/*.tsx", "**/*.mjs", "**/*.cjs", "**/*.vue"],
54+
files: ["**/*.js", "**/*.jsx", "**/*.ts", "**/*.tsx", "**/*.mjs", "**/*.cjs", "**/*.vue"],
5555
rules: {
5656
"semi": ["error"],
5757
}
@@ -76,7 +76,7 @@ func TestCreateEslintConfigUnnamedParam(t *testing.T) {
7676
},
7777
`export default [
7878
{
79-
files: ["**/*.js", "**/*.jsx", "**/*.ts", "**/*.tsx", "**/*.mjs", "**/*.cjs", "**/*.vue"],
79+
files: ["**/*.js", "**/*.jsx", "**/*.ts", "**/*.tsx", "**/*.mjs", "**/*.cjs", "**/*.vue"],
8080
rules: {
8181
"semi": ["error", "never"],
8282
}
@@ -101,7 +101,7 @@ func TestCreateEslintConfigNamedParam(t *testing.T) {
101101
},
102102
`export default [
103103
{
104-
files: ["**/*.js", "**/*.jsx", "**/*.ts", "**/*.tsx", "**/*.mjs", "**/*.cjs", "**/*.vue"],
104+
files: ["**/*.js", "**/*.jsx", "**/*.ts", "**/*.tsx", "**/*.mjs", "**/*.cjs", "**/*.vue"],
105105
rules: {
106106
"consistent-return": ["error", {"treatUndefinedAsUnspecified": false}],
107107
}
@@ -130,7 +130,7 @@ func TestCreateEslintConfigUnnamedAndNamedParam(t *testing.T) {
130130
},
131131
`export default [
132132
{
133-
files: ["**/*.js", "**/*.jsx", "**/*.ts", "**/*.tsx", "**/*.mjs", "**/*.cjs", "**/*.vue"],
133+
files: ["**/*.js", "**/*.jsx", "**/*.ts", "**/*.tsx", "**/*.mjs", "**/*.cjs", "**/*.vue"],
134134
rules: {
135135
"consistent-return": ["error", "foo", {"treatUndefinedAsUnspecified": false}],
136136
}
@@ -149,7 +149,7 @@ func TestCreateEslintConfigDoNotSupportPlugins(t *testing.T) {
149149
},
150150
`export default [
151151
{
152-
files: ["**/*.js", "**/*.jsx", "**/*.ts", "**/*.tsx", "**/*.mjs", "**/*.cjs", "**/*.vue"],
152+
files: ["**/*.js", "**/*.jsx", "**/*.ts", "**/*.tsx", "**/*.mjs", "**/*.cjs", "**/*.vue"],
153153
rules: {
154154
}
155155
}
@@ -187,7 +187,7 @@ func TestCreateEslintConfigWithDefaultValues(t *testing.T) {
187187
},
188188
`export default [
189189
{
190-
files: ["**/*.js", "**/*.jsx", "**/*.ts", "**/*.tsx", "**/*.mjs", "**/*.cjs", "**/*.vue"],
190+
files: ["**/*.js", "**/*.jsx", "**/*.ts", "**/*.tsx", "**/*.mjs", "**/*.cjs", "**/*.vue"],
191191
rules: {
192192
"no-fallthrough": ["error", {"allowEmptyCase": false}],
193193
}
@@ -218,7 +218,7 @@ func TestCreateEslintConfigWithUnnamedDefaultValues(t *testing.T) {
218218
},
219219
`export default [
220220
{
221-
files: ["**/*.js", "**/*.jsx", "**/*.ts", "**/*.tsx", "**/*.mjs", "**/*.cjs", "**/*.vue"],
221+
files: ["**/*.js", "**/*.jsx", "**/*.ts", "**/*.tsx", "**/*.mjs", "**/*.cjs", "**/*.vue"],
222222
rules: {
223223
"no-inner-declarations": ["error", "functions"],
224224
}

0 commit comments

Comments
 (0)