eslint-config-seek 0.0.0-eslint-9-etc-20240922063038 → 0.0.0-eslint-9-etc-20240922070719
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/base.js +8 -3
- package/package.json +1 -1
package/base.js
CHANGED
|
@@ -93,13 +93,18 @@ const settings = {
|
|
|
93
93
|
|
|
94
94
|
module.exports = [
|
|
95
95
|
eslintConfigPrettier,
|
|
96
|
+
{
|
|
97
|
+
plugins: {
|
|
98
|
+
'import-x': importX,
|
|
99
|
+
},
|
|
100
|
+
},
|
|
96
101
|
importX.flatConfigs.typescript,
|
|
97
102
|
{
|
|
98
|
-
|
|
103
|
+
rules: importX.flatConfigs.errors.rules,
|
|
99
104
|
files: [`**/*.{${jsExtensions}}`],
|
|
100
105
|
},
|
|
101
106
|
{
|
|
102
|
-
|
|
107
|
+
rules: importX.flatConfigs.warnings.rules,
|
|
103
108
|
files: [`**/*.{${jsExtensions}}`],
|
|
104
109
|
},
|
|
105
110
|
{
|
|
@@ -117,7 +122,7 @@ module.exports = [
|
|
|
117
122
|
settings,
|
|
118
123
|
rules: baseRules,
|
|
119
124
|
},
|
|
120
|
-
...[tseslint.configs.recommended, tseslint.configs.stylistic].map(
|
|
125
|
+
...[...tseslint.configs.recommended, ...tseslint.configs.stylistic].map(
|
|
121
126
|
(config) => ({
|
|
122
127
|
...config,
|
|
123
128
|
files: [`**/*.{${tsExtensions}}`],
|