eslint-config-tidal
Version:
ESLint sharable flat config for TIDAL
19 lines (17 loc) • 416 B
JavaScript
// Cypress
import cypress from 'eslint-plugin-cypress';
/** @type { import("eslint").Linter.Config } */
export const cypressRuleSet = {
files: ['**/cypress/**/*'],
languageOptions: {
globals: cypress.environments.globals.globals,
},
plugins: {
cypress,
},
rules: {
...cypress.configs.recommended.rules,
'cypress/no-force': 'error',
'cypress/unsafe-to-chain-command': 'warn',
},
};