Skip to content

Commit

Permalink
chore: add react and mui configurations
Browse files Browse the repository at this point in the history
  • Loading branch information
unsigned6 committed Aug 28, 2023
1 parent 0c3a8a6 commit ea876f0
Show file tree
Hide file tree
Showing 4 changed files with 100 additions and 40 deletions.
6 changes: 6 additions & 0 deletions .eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,14 @@
"arrow-body-style": "off",
"import/prefer-default-export": "off",
"import/no-named-as-default-member": "warn",
"import/extensions": "off",
"no-param-reassign": ["warn", { "props": false }],
"max-classes-per-file": "warn",
"react/jsx-filename-extension": "off",
"react/forbid-prop-types": "off",
"react/button-has-type": "off",
"react/function-component-definition": [2, { "namedComponents": "function-declaration" }],
"mui-path-imports/mui-path-imports": "error",
"simple-import-sort/imports": [
"warn",
{
Expand Down
5 changes: 4 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@
@babel/[email protected] \
@babel/register@^7.16.0 \
@babel/[email protected] \
@typescript-eslint/[email protected] \
@typescript-eslint/[email protected] \
[email protected] \
[email protected] \
[email protected] \
Expand All @@ -27,7 +29,8 @@
[email protected] \
[email protected] \
[email protected] \
[email protected]
[email protected] \
eslint-plugin-mui-path-imports
```


Expand Down
123 changes: 86 additions & 37 deletions package-lock.json

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

6 changes: 4 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,9 @@
"@babel/preset-react": "7.16.7",
"@babel/register": "^7.16.0",
"@babel/runtime-corejs3": "7.16.8",
"@typescript-eslint/parser": "^5.56.0",
"@typescript-eslint/eslint-plugin": "^5.56.0",
"eslint": "7.32.0",
"@typescript-eslint/parser": "^5.56.0",
"eslint": "^7.32.0",
"eslint-config-airbnb": "19.0.2",
"eslint-config-prettier": "^8.5.0",
"eslint-import-resolver-exports": "^1.0.0-beta.2",
Expand All @@ -43,6 +43,7 @@
"eslint-plugin-import": "2.25.3",
"eslint-plugin-jsdoc": "37.1.0",
"eslint-plugin-jsx-a11y": "6.5.1",
"eslint-plugin-mui-path-imports": "0.0.15",
"eslint-plugin-prettier": "^4.2.1",
"eslint-plugin-react": "7.30.0",
"eslint-plugin-simple-import-sort": "7.0.0",
Expand Down Expand Up @@ -70,6 +71,7 @@
"eslint-plugin-import": "2.25.3",
"eslint-plugin-jsdoc": "37.1.0",
"eslint-plugin-jsx-a11y": "6.5.1",
"eslint-plugin-mui-path-imports": "0.0.15",
"eslint-plugin-prettier": "^4.2.1",
"eslint-plugin-react": "7.30.0",
"eslint-plugin-simple-import-sort": "7.0.0"
Expand Down

0 comments on commit ea876f0

Please sign in to comment.