Skip to content

Commit 47ea744

Browse files
committed
build: update eslint config
1 parent 5997801 commit 47ea744

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

eslint.config.mjs

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,12 @@ import globals from 'globals'
99
export default [
1010
eslintPluginImport.flatConfigs.errors,
1111
eslintPluginImport.flatConfigs.warnings,
12-
eslintPluginUnicorn.configs['flat/recommended'],
12+
eslintPluginUnicorn.configs.recommended,
1313
...xo,
1414
...xoBrowser,
1515
{
1616
ignores: [
17+
'**/*.json',
1718
'**/*.min.js',
1819
'**/dist/',
1920
'**/vendor/',
@@ -27,6 +28,7 @@ export default [
2728
{
2829
rules: {
2930
'@stylistic/comma-dangle': 'off',
31+
'@stylistic/curly-newline': 'off',
3032
'@stylistic/function-paren-newline': 'off',
3133
'@stylistic/indent': 'off',
3234
'@stylistic/indent-binary-ops': 'off',
@@ -119,6 +121,12 @@ export default [
119121
sourceType: 'module'
120122
}
121123
},
124+
// {
125+
// files: ["**/*.json"],
126+
// rules: {
127+
// "unicorn/expiring-todo-comments": "off"
128+
// }
129+
// },
122130
{
123131
files: ['build/**'],
124132
languageOptions: {

0 commit comments

Comments
 (0)