eslint-config-neon
Version:
The ultimate ESLint shareable config
1 lines • 819 B
Source Map (JSON)
{"version":3,"file":"cypress.cjs","names":[],"sources":["../../src/cypress.ts"],"sourcesContent":["import type { TSESLint } from '@typescript-eslint/utils';\nimport cypress from 'eslint-plugin-cypress';\n\nconst rules: TSESLint.FlatConfig.Rules = {\n\t'cypress/assertion-before-screenshot': 2,\n\t'cypress/no-assigning-return-values': 2,\n\t'cypress/no-async-tests': 2,\n\t'cypress/no-force': 2,\n\t'cypress/no-pause': 2,\n\t'cypress/no-unnecessary-waiting': 2,\n\t'import-x/unambiguous': 0,\n};\n\nconst config: TSESLint.FlatConfig.ConfigArray = [\n\t{\n\t\tplugins: {\n\t\t\tcypress,\n\t\t},\n\t\trules,\n\t},\n];\n\nexport default config;\n"],"mappings":";;;;;;AAaA,MAAM,SAA0C,CAC/C;CACC,SAAS,EACR,uCACD;CACA;EAdD,uCAAuC;EACvC,sCAAsC;EACtC,0BAA0B;EAC1B,oBAAoB;EACpB,oBAAoB;EACpB,kCAAkC;EAClC,wBAAwB;CAQnB;AACL,CACD"}