0
0
Fork 0

eslint errors on spec files on compilation fix

This commit is contained in:
Carlos Jimenez Ruiz 2022-03-14 11:26:15 +01:00
parent f09925493b
commit cbfcb237eb
1 changed files with 11 additions and 1 deletions

View File

@ -27,7 +27,7 @@ module.exports = {
// Rules order is important, please avoid shuffling them
extends: [
// Base ESLint recommended rules
'eslint:recommended',
// 'eslint:recommended',
// https://github.com/typescript-eslint/typescript-eslint/tree/master/packages/eslint-plugin#usage
// ESLint typescript rules
@ -90,4 +90,14 @@ module.exports = {
// allow debugger during development only
'no-debugger': process.env.NODE_ENV === 'production' ? 'error' : 'off',
},
overrides: [
{
files: ['**/*.spec.{js,ts}'],
extends: [
// Add Cypress-specific lint rules, globals and Cypress plugin
// See https://github.com/cypress-io/eslint-plugin-cypress#rules
'plugin:cypress/recommended',
],
},
],
};