eslint-config-seek 14.0.0 → 14.0.2
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 +5 -4
- package/package.json +1 -1
package/base.js
CHANGED
|
@@ -92,10 +92,12 @@ const settings = {
|
|
|
92
92
|
};
|
|
93
93
|
|
|
94
94
|
module.exports = [
|
|
95
|
-
eslintConfigPrettier,
|
|
96
95
|
{
|
|
97
96
|
plugins: {
|
|
98
97
|
'import-x': importX,
|
|
98
|
+
jest: jestPlugin,
|
|
99
|
+
cypress,
|
|
100
|
+
'@typescript-eslint': tseslint.plugin,
|
|
99
101
|
},
|
|
100
102
|
},
|
|
101
103
|
importX.flatConfigs.typescript,
|
|
@@ -122,8 +124,9 @@ module.exports = [
|
|
|
122
124
|
settings,
|
|
123
125
|
rules: baseRules,
|
|
124
126
|
},
|
|
127
|
+
eslintConfigPrettier,
|
|
125
128
|
...[...tseslint.configs.recommended, ...tseslint.configs.stylistic].map(
|
|
126
|
-
(config) => ({
|
|
129
|
+
({ plugins, ...config }) => ({
|
|
127
130
|
...config,
|
|
128
131
|
files: [`**/*.{${tsExtensions}}`],
|
|
129
132
|
}),
|
|
@@ -218,7 +221,6 @@ module.exports = [
|
|
|
218
221
|
`**/__tests__/**/*.{${allExtensions}}`,
|
|
219
222
|
`**/*.@(spec|test).{${allExtensions}}`,
|
|
220
223
|
],
|
|
221
|
-
plugins: { jest: jestPlugin },
|
|
222
224
|
languageOptions: {
|
|
223
225
|
globals: {
|
|
224
226
|
...globals.jest,
|
|
@@ -231,7 +233,6 @@ module.exports = [
|
|
|
231
233
|
},
|
|
232
234
|
{
|
|
233
235
|
files: [`**/cypress/**/*.{${allExtensions}}`],
|
|
234
|
-
plugins: { cypress },
|
|
235
236
|
languageOptions: {
|
|
236
237
|
globals: {
|
|
237
238
|
...cypress.environments.globals.globals,
|