You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -130,7 +138,7 @@ export async function defineConfig(
130
138
131
139
// Base configs
132
140
configs.push(
133
-
ignores(),
141
+
ignores(options.ignores),
134
142
javascript({
135
143
isInEditor,
136
144
overrides: getOverrides(options,'javascript'),
@@ -254,6 +262,10 @@ export async function defineConfig(
254
262
)
255
263
}
256
264
265
+
if('files'inoptions){
266
+
thrownewError('[@coderwyd/eslint-config] The first argument should not contain the "files" property as the options are supposed to be global. Place it in the second or later config instead.')
267
+
}
268
+
257
269
// User can optionally pass a flat config item to the first argument
258
270
// We pick the known keys as ESLint would do schema validation
0 commit comments