Skip to content

Commit

Permalink
format
Browse files Browse the repository at this point in the history
  • Loading branch information
hardingjam committed Oct 1, 2024
1 parent fc552c8 commit 6e376a8
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions eslint.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,10 @@ export default [
reactPlugin.configs.flat['jsx-runtime'],
{
rules: {
'no-console': process.env.NODE_ENV === 'production' || process.env.CI ? ["error", { allow: ["warn", "error"] }] : 'off',
'no-console':
process.env.NODE_ENV === 'production' || process.env.CI
? ['error', { allow: ['warn', 'error'] }]
: 'off',
'no-trailing-spaces': 'error',
eqeqeq: 'off',
'prefer-const': ['error', { ignoreReadBeforeAssign: true }],
Expand All @@ -54,7 +57,7 @@ export default [
'@typescript-eslint/no-unused-vars': 'off',
'@typescript-eslint/no-explicit-any': 'off',
'@typescript-eslint/no-empty-object-type': 'off',
'no-case-declarations': 'off',
'no-case-declarations': 'off'
// 'react/no-unescaped-entities': 'off',
// 'no-unsafe-optional-chaining': 'off',
// 'prefer-const': 'off',
Expand Down

0 comments on commit 6e376a8

Please sign in to comment.