Skip to content

Commit

Permalink
Merge pull request #310 from MoTrPAC/130_MS_Github_Actions-PR-Test
Browse files Browse the repository at this point in the history
chore: update eslintrc
  • Loading branch information
mihirsamdarshi authored Apr 18, 2024
2 parents 7d07ff6 + c73703c commit 6ec7450
Showing 1 changed file with 27 additions and 30 deletions.
57 changes: 27 additions & 30 deletions .eslintrc.js
Original file line number Diff line number Diff line change
@@ -1,32 +1,29 @@
module.exports = {
extends: ['airbnb'],
plugins: ['react-hooks'],
rules: {
'jsx-a11y/label-has-for': 0,
'jsx-a11y/label-has-associated-control': 0,
'jsx-a11y/control-has-associated-label': 0,
'jsx-a11y/no-noninteractive-tabindex': 0,
'react-hooks/rules-of-hooks': 'error',
'react-hooks/exhaustive-deps': 'warn',
'import/no-extraneous-dependencies': [
'error',
{ devDependencies: true },
],
'no-console': 0,
'no-param-reassign': 0,
'no-use-before-define': 0,
'func-names': 0,
'consistent-return': 0,
'prefer-template': 0,
'react/jsx-props-no-spreading': 0,
'react/prop-types': 0,
'react/forbid-prop-types': 0,
'react/no-unescaped-entities': 0,
'react/jsx-filename-extension': 0,
'react/no-this-in-sfc': 0,
},
env: {
browser: true,
jest: true,
},
extends: ['airbnb'],
plugins: ['react-hooks'],
rules: {
'jsx-a11y/label-has-for': 0,
'jsx-a11y/label-has-associated-control': 0,
'jsx-a11y/control-has-associated-label': 0,
'jsx-a11y/no-noninteractive-tabindex': 0,
'react-hooks/rules-of-hooks': 'error',
'react-hooks/exhaustive-deps': 'warn',
'import/no-extraneous-dependencies': ['error', { devDependencies: true }],
'no-console': 0,
'no-param-reassign': 0,
'no-use-before-define': 0,
'func-names': 0,
'consistent-return': 0,
'prefer-template': 0,
'react/jsx-props-no-spreading': 0,
'react/prop-types': 0,
'react/forbid-prop-types': 0,
'react/no-unescaped-entities': 0,
'react/jsx-filename-extension': 0,
'react/no-this-in-sfc': 0,
},
env: {
browser: true,
jest: true,
},
};

0 comments on commit 6ec7450

Please sign in to comment.