Skip to content

Commit

Permalink
Check
Browse files Browse the repository at this point in the history
  • Loading branch information
geoperez committed Dec 26, 2023
1 parent 7009e4f commit 2120718
Show file tree
Hide file tree
Showing 3 changed files with 67 additions and 30 deletions.
13 changes: 0 additions & 13 deletions .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,28 +19,15 @@ module.exports = {
extends: 'eslint-config-unosquare',
plugins: ['eslint-plugin-prettier'],
rules: {
'guard-for-in': 'warn',
'react/require-default-props': 'off',
'react-hooks/exhaustive-deps': 'warn',
'no-param-reassign': 'warn',
'spaced-comment': 'warn',
'import/prefer-default-export': 'off',
'react/no-array-index-key': 'warn',
'react/function-component-definition': [
'error',
{ unnamedComponents: 'arrow-function', namedComponents: 'arrow-function' },
],
'array-callback-return': ['error', { checkForEach: true }],
'sort-imports': [
'warn',
{
ignoreCase: true,
ignoreDeclarationSort: true,
ignoreMemberSort: false,
memberSyntaxSortOrder: ['none', 'all', 'multiple', 'single'],
allowSeparatedGroups: false,
},
],
'react/no-unstable-nested-components': 'warn',
},
};
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
"@typescript-eslint/eslint-plugin": "^6.16.0",
"autoprefixer": "^10.4.16",
"eslint": "^8.56.0",
"eslint-config-unosquare": "0.8.3",
"eslint-config-unosquare": "0.9.0",
"eslint-plugin-prettier": "^5.1.2",
"eslint-plugin-react": "^7.33.2",
"eslint-plugin-react-hooks": "^4.6.0",
Expand Down
82 changes: 66 additions & 16 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 2120718

Please sign in to comment.