-
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #40 from baharalidurrani/eslint-enhancements
ESLint Enhancements
- Loading branch information
Showing
66 changed files
with
1,845 additions
and
1,617 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
node_modules | ||
build |
This file was deleted.
Oops, something went wrong.
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 |
---|---|---|
@@ -0,0 +1,61 @@ | ||
{ | ||
"env": { | ||
"browser": true, | ||
"es2021": true | ||
}, | ||
"extends": ["plugin:react/recommended", "standard-with-typescript", "prettier"], | ||
"overrides": [], | ||
"parserOptions": { | ||
"ecmaVersion": "latest", | ||
"sourceType": "module", | ||
"project": "./tsconfig.json" | ||
}, | ||
"plugins": ["react", "prettier"], | ||
"settings": { | ||
"react": { | ||
"version": "detect" | ||
} | ||
}, | ||
"rules": { | ||
"prettier/prettier": "error", | ||
"linebreak-style": ["error", "unix"], | ||
"no-unused-vars": ["error", { "argsIgnorePattern": "^_" }], | ||
"comma-dangle": "off", | ||
"multiline-ternary": "off", | ||
"react/react-in-jsx-scope": "off", | ||
"@typescript-eslint/explicit-function-return-type": "off", | ||
"@typescript-eslint/semi": "off", | ||
"@typescript-eslint/space-before-function-paren": "off", | ||
"@typescript-eslint/strict-boolean-expressions": "off", | ||
|
||
"import/newline-after-import": [ | ||
"warn", | ||
{ | ||
"count": 1 | ||
} | ||
], | ||
"import/order": [ | ||
"warn", | ||
{ | ||
"groups": ["builtin", "external", "internal"], | ||
"pathGroups": [ | ||
{ | ||
"pattern": "react*", | ||
"group": "external", | ||
"position": "before" | ||
}, | ||
{ | ||
"pattern": "src/**", | ||
"group": "internal" | ||
} | ||
], | ||
"pathGroupsExcludedImportTypes": ["react"], | ||
"newlines-between": "never", | ||
"alphabetize": { | ||
"order": "asc", | ||
"caseInsensitive": true | ||
} | ||
} | ||
] | ||
} | ||
} |
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 |
---|---|---|
@@ -0,0 +1,6 @@ | ||
{ | ||
"semi": true, | ||
"singleQuote": true, | ||
"printWidth": 120, | ||
"endOfLine": "lf" | ||
} |
This file was deleted.
Oops, something went wrong.
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,21 +1,21 @@ | ||
abstract: "A production-ready React, Typescript, Material-UI, Redux-Toolkit based responsive boilerplate." | ||
abstract: 'A production-ready React, Typescript, Material-UI, Redux-Toolkit based responsive boilerplate.' | ||
authors: | ||
- family-names: Ali | ||
given-names: Bahar | ||
name-particle: Durrani | ||
orcid: "https://orcid.org/0000-0003-2750-4420" | ||
cff-version: "1.1.0" | ||
orcid: 'https://orcid.org/0000-0003-2750-4420' | ||
cff-version: '1.1.0' | ||
date-released: 2022-07-24 | ||
doi: "10.5281/zenodo.5600545" | ||
doi: '10.5281/zenodo.5600545' | ||
keywords: | ||
- react | ||
- typescript | ||
- "material-ui" | ||
- 'material-ui' | ||
- mui | ||
- redux | ||
- "redux-toolkit" | ||
license: "GPL-3.0" | ||
message: "If you use this software, please cite it using these metadata." | ||
repository-code: "https://github.com/baharalidurrani/material-domain" | ||
title: "baharalidurrani/material-domain: v4.0.0" | ||
version: "v4.0.0" | ||
- 'redux-toolkit' | ||
license: 'GPL-3.0' | ||
message: 'If you use this software, please cite it using these metadata.' | ||
repository-code: 'https://github.com/baharalidurrani/material-domain' | ||
title: 'baharalidurrani/material-domain: v4.2.0' | ||
version: 'v4.2.0' |
Oops, something went wrong.