From 58924bca48f592caa90beb9dc9de825bf03e720f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=98yvind=20Smestad?= Date: Thu, 7 Sep 2023 17:05:26 +0200 Subject: [PATCH] Enforce `.json` for imports Allow `console` in Node Widen Cypress glob pattern --- index.js | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/index.js b/index.js index 9736e73..70957a7 100644 --- a/index.js +++ b/index.js @@ -294,6 +294,7 @@ export default [ 'never', { js: 'ignorePackages', + json: 'always', }, ], 'import/named': 'off', @@ -334,7 +335,7 @@ export default [ }, // Cypress { - files: ['**/*.cy.ts'], + files: ['**/cypress/**/*'], languageOptions: { globals: cypress.environments.globals.globals, }, @@ -383,5 +384,8 @@ export default [ ...globals.node, }, }, + rules: { + 'no-console': 'off', + }, }, ];