Skip to content

Commit

Permalink
Merge pull request #1 from karthickthankyou/rough
Browse files Browse the repository at this point in the history
Merging rough
  • Loading branch information
karthickthankyou authored Mar 22, 2022
2 parents 0b8421b + 26cede0 commit 40c7687
Show file tree
Hide file tree
Showing 333 changed files with 19,174 additions and 30,918 deletions.
14 changes: 14 additions & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@ module.exports = {
es2021: true,
jest: true,
},
globals: {
React: true,
JSX: true,
},
extends: [
'plugin:react/recommended',
'airbnb',
Expand Down Expand Up @@ -75,7 +79,17 @@ module.exports = {
files: ['*stories.tsx'],
rules: {
'react/jsx-props-no-spreading': 'off',
'no-param-reassign': 'off',
},
},
{
files: ['*.ts', '*.tsx'],
rules: {
'no-undef': 'off',
},
},
],
}

// Note: About no-undef for .ts files.
// https://stackoverflow.com/questions/60743389/eslint-defined-global-extensions-still-not-defined-no-undef
Loading

0 comments on commit 40c7687

Please sign in to comment.