-
-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use tabs to make the code more accessible (#183)
* Change config to tabs * Convert 4 spaces to tabs with prettier and eslint
- Loading branch information
Showing
119 changed files
with
3,561 additions
and
3,555 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,54 +1,53 @@ | ||
{ | ||
"env": { | ||
"browser": true, | ||
"es2021": true, | ||
"node": true | ||
}, | ||
"extends": ["eslint:recommended", "plugin:react/recommended", "plugin:prettier/recommended"], | ||
"parser": "@typescript-eslint/parser", | ||
"parserOptions": { | ||
"ecmaFeatures": { | ||
"jsx": true | ||
}, | ||
"ecmaVersion": "latest", | ||
"sourceType": "module" | ||
}, | ||
"plugins": ["react", "@typescript-eslint", "simple-import-sort"], | ||
"rules": { | ||
"max-len": [ | ||
"error", | ||
{ | ||
"code": 120, | ||
"tabWidth": 4 | ||
} | ||
], | ||
"react/react-in-jsx-scope": "off", | ||
"simple-import-sort/imports": [ | ||
"error", | ||
{ | ||
"groups": [ | ||
// other packages. Node packages first | ||
["^@?\\w"], | ||
// Sub components of current component | ||
["^.+\\.style$"], | ||
["^.+\\.svg$"], | ||
// Own modules | ||
["^(/frontend|backend|types)(/.*|$)"], | ||
// Shared modules | ||
["^types(/.*|$)"], | ||
// Wrong imports (should be replaced) | ||
["^\\.\\.(?!/?$)", "^\\.\\./?$"], | ||
// Sub components of current component | ||
["^\\./(?=.*/)(?!/?$)", "^\\.(?!/?$)", "^\\./?$"] | ||
] | ||
} | ||
], | ||
"simple-import-sort/exports": "error" | ||
}, | ||
"ignorePatterns": ["node_modules/", "./dashboard/", "./app/", ".parcel-cache/", "./cypress/"], | ||
"settings": { | ||
"react": { | ||
"version": "detect" | ||
} | ||
} | ||
"env": { | ||
"browser": true, | ||
"es2021": true, | ||
"node": true | ||
}, | ||
"extends": ["eslint:recommended", "plugin:react/recommended", "plugin:prettier/recommended"], | ||
"parser": "@typescript-eslint/parser", | ||
"parserOptions": { | ||
"ecmaFeatures": { | ||
"jsx": true | ||
}, | ||
"ecmaVersion": "latest", | ||
"sourceType": "module" | ||
}, | ||
"plugins": ["react", "@typescript-eslint", "simple-import-sort"], | ||
"rules": { | ||
"max-len": [ | ||
"error", | ||
{ | ||
"code": 120 | ||
} | ||
], | ||
"react/react-in-jsx-scope": "off", | ||
"simple-import-sort/imports": [ | ||
"error", | ||
{ | ||
"groups": [ | ||
// other packages. Node packages first | ||
["^@?\\w"], | ||
// Sub components of current component | ||
["^.+\\.style$"], | ||
["^.+\\.svg$"], | ||
// Own modules | ||
["^(/frontend|backend|types)(/.*|$)"], | ||
// Shared modules | ||
["^types(/.*|$)"], | ||
// Wrong imports (should be replaced) | ||
["^\\.\\.(?!/?$)", "^\\.\\./?$"], | ||
// Sub components of current component | ||
["^\\./(?=.*/)(?!/?$)", "^\\.(?!/?$)", "^\\./?$"] | ||
] | ||
} | ||
], | ||
"simple-import-sort/exports": "error" | ||
}, | ||
"ignorePatterns": ["node_modules/", "./dashboard/", "./app/", ".parcel-cache/", "./cypress/"], | ||
"settings": { | ||
"react": { | ||
"version": "detect" | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,6 @@ | ||
# Generally ignoring | ||
|
||
.idea/ | ||
.husky/_/ | ||
yarn-error.log | ||
/.env | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.