Skip to content

Commit

Permalink
Merge pull request #40 from baharalidurrani/eslint-enhancements
Browse files Browse the repository at this point in the history
ESLint Enhancements
  • Loading branch information
baharalidurrani authored Sep 9, 2022
2 parents 45f05d9 + 7e86c87 commit 7068597
Show file tree
Hide file tree
Showing 66 changed files with 1,845 additions and 1,617 deletions.
2 changes: 2 additions & 0 deletions .eslintignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
node_modules
build
128 changes: 0 additions & 128 deletions .eslintrc.js

This file was deleted.

61 changes: 61 additions & 0 deletions .eslintrc.json
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
}
}
]
}
}
7 changes: 1 addition & 6 deletions .github/FUNDING.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,4 @@
# issuehunt: # Replace with a single IssueHunt username
# otechie: # Replace with a single Otechie username
# lfx_crowdfunding: # Replace with a single LFX Crowdfunding project-name e.g., cloud-foundry
custom:
[
"https://wise.com/pay#57kDp-TXsUUjiv429aqln1GySRY",
"https://wise.com/pay#_rwf8fXLPWib7P9Son5rDBsMtBQ",
"https://wise.com/pay#_BYyVvwUFdtY4h9F-eipsrBv0Ms",
]
custom: []
6 changes: 6 additions & 0 deletions .prettierrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"semi": true,
"singleQuote": true,
"printWidth": 120,
"endOfLine": "lf"
}
5 changes: 0 additions & 5 deletions .prettierrc.json

This file was deleted.

22 changes: 11 additions & 11 deletions CITATION.cff
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'
Loading

0 comments on commit 7068597

Please sign in to comment.