eslint-config-seek 10.1.0 → 10.1.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/.eslintrc.js +2 -1
- package/package.json +1 -1
package/.eslintrc.js
CHANGED
|
@@ -183,6 +183,7 @@ const baseConfig = {
|
|
|
183
183
|
},
|
|
184
184
|
},
|
|
185
185
|
rules: {
|
|
186
|
+
'no-undef': ERROR,
|
|
186
187
|
'no-use-before-define': [ERROR, { functions: false }],
|
|
187
188
|
'no-unused-expressions': ERROR,
|
|
188
189
|
'import/no-unresolved': [
|
|
@@ -203,7 +204,7 @@ const baseConfig = {
|
|
|
203
204
|
},
|
|
204
205
|
{
|
|
205
206
|
// Cypress config
|
|
206
|
-
files: ['cypress/**/*.{js,ts,tsx}'],
|
|
207
|
+
files: ['**/cypress/**/*.{js,ts,tsx}'],
|
|
207
208
|
env: {
|
|
208
209
|
'cypress/globals': true,
|
|
209
210
|
},
|