eslint-config-decent 2.6.0-beta1 → 2.6.0-beta2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs +8 -1
- package/dist/index.mjs +8 -1
- package/package.json +1 -1
- package/src/index.ts +7 -0
package/dist/index.cjs
CHANGED
|
@@ -942,7 +942,14 @@ function tsEslintConfig(options) {
|
|
|
942
942
|
files: ["**/*.js", "**/*.cjs", "**/*.mjs"],
|
|
943
943
|
extends: [tsEslint__default.configs.disableTypeChecked]
|
|
944
944
|
},
|
|
945
|
-
prettier__default
|
|
945
|
+
prettier__default,
|
|
946
|
+
{
|
|
947
|
+
name: "eslint-config-decent/1tbs",
|
|
948
|
+
files: ["**/*.ts", "**/*.js", "**/*.cjs", "**/*.mjs", "**/*.tsx"],
|
|
949
|
+
rules: {
|
|
950
|
+
"@stylistic/brace-style": "error"
|
|
951
|
+
}
|
|
952
|
+
}
|
|
946
953
|
];
|
|
947
954
|
}
|
|
948
955
|
function config(options) {
|
package/dist/index.mjs
CHANGED
|
@@ -919,7 +919,14 @@ function tsEslintConfig(options) {
|
|
|
919
919
|
files: ["**/*.js", "**/*.cjs", "**/*.mjs"],
|
|
920
920
|
extends: [tsEslint.configs.disableTypeChecked]
|
|
921
921
|
},
|
|
922
|
-
prettier
|
|
922
|
+
prettier,
|
|
923
|
+
{
|
|
924
|
+
name: "eslint-config-decent/1tbs",
|
|
925
|
+
files: ["**/*.ts", "**/*.js", "**/*.cjs", "**/*.mjs", "**/*.tsx"],
|
|
926
|
+
rules: {
|
|
927
|
+
"@stylistic/brace-style": "error"
|
|
928
|
+
}
|
|
929
|
+
}
|
|
923
930
|
];
|
|
924
931
|
}
|
|
925
932
|
function config(options) {
|
package/package.json
CHANGED
package/src/index.ts
CHANGED
|
@@ -217,6 +217,13 @@ export function tsEslintConfig(options?: DefaultConfigOptions): ConfigWithExtend
|
|
|
217
217
|
extends: [tsEslint.configs.disableTypeChecked],
|
|
218
218
|
},
|
|
219
219
|
prettier,
|
|
220
|
+
{
|
|
221
|
+
name: 'eslint-config-decent/1tbs',
|
|
222
|
+
files: ['**/*.ts', '**/*.js', '**/*.cjs', '**/*.mjs', '**/*.tsx'],
|
|
223
|
+
rules: {
|
|
224
|
+
'@stylistic/brace-style': 'error',
|
|
225
|
+
},
|
|
226
|
+
},
|
|
220
227
|
];
|
|
221
228
|
}
|
|
222
229
|
|