Skip to content

Commit

Permalink
eslint config
Browse files Browse the repository at this point in the history
  • Loading branch information
incognitojam committed Jul 25, 2023
1 parent c0b24cc commit 966d9b1
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@ module.exports = {
'airbnb/hooks',
'plugin:jest-dom/recommended',
],
parserOptions: {
ecmaVersion: 2020,
},
rules: {
'import/prefer-default-export': 0,
'import/no-named-as-default': 0,
Expand All @@ -23,6 +26,9 @@ module.exports = {
'react/prop-types': 0,
'react/require-default-props': 0,
'no-await-in-loop': 'warn',
'no-console': ['error', {
allow: ['debug', 'info', 'warn', 'error'],
}],
'no-multi-spaces': ['error', {
ignoreEOLComments: true,
}],
Expand Down

0 comments on commit 966d9b1

Please sign in to comment.