Skip to content

Commit

Permalink
Enforce .json for imports
Browse files Browse the repository at this point in the history
Allow `console` in Node
Widen Cypress glob pattern
  • Loading branch information
osmestad committed Sep 7, 2023
1 parent 70a8f8d commit 58924bc
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -294,6 +294,7 @@ export default [
'never',
{
js: 'ignorePackages',
json: 'always',
},
],
'import/named': 'off',
Expand Down Expand Up @@ -334,7 +335,7 @@ export default [
},
// Cypress
{
files: ['**/*.cy.ts'],
files: ['**/cypress/**/*'],
languageOptions: {
globals: cypress.environments.globals.globals,
},
Expand Down Expand Up @@ -383,5 +384,8 @@ export default [
...globals.node,
},
},
rules: {
'no-console': 'off',
},
},
];

0 comments on commit 58924bc

Please sign in to comment.