Skip to content

Commit

Permalink
build(lint): disallow usage of console in code
Browse files Browse the repository at this point in the history
  • Loading branch information
StyleShit committed Aug 15, 2024
1 parent bee5c5f commit 23308e2
Showing 1 changed file with 10 additions and 8 deletions.
18 changes: 10 additions & 8 deletions eslint.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,18 @@ export default tseslint.config(
},
},
},
{
ignores: [
'**/coverage/**',
'**/dist/**',
'**/node_modules/**',
'**/__snapshots__/**',
],
},
{
rules: {
'no-console': 'error',

// We're gonna use some of those...
'@typescript-eslint/no-explicit-any': 'off',

Expand All @@ -30,12 +40,4 @@ export default tseslint.config(
],
},
},
{
ignores: [
'**/coverage/**',
'**/dist/**',
'**/node_modules/**',
'**/__snapshots__/**',
],
},
);

0 comments on commit 23308e2

Please sign in to comment.