generated from wmcadigital/wmn-create-react-app-template
-
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.
- Loading branch information
Mushtaque Ahmed
committed
Jun 10, 2022
1 parent
e92b613
commit 9650a73
Showing
211 changed files
with
12,459 additions
and
26,354 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 +1,6 @@ | ||
# https://create-react-app.dev/docs/adding-custom-environment-variables | ||
# development API and keys | ||
REACT_APP_API_HOST='https://apisnwm.cenapps.org.uk' | ||
REACT_APP_API_KEY='514b8bafa009424289cb2d7a12c54f6e' | ||
|
||
REACT_APP_DBAPI_HOST='https://wmca-ianrose-dd-api.azurewebsites.net/api' | ||
REACT_APP_DBAPI_KEY='' |
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 +1,6 @@ | ||
# https://create-react-app.dev/docs/adding-custom-environment-variables | ||
# development API and keys | ||
REACT_APP_API_HOST='https://apisnwm.cenapps.org.uk' | ||
REACT_APP_API_KEY='514b8bafa009424289cb2d7a12c54f6e' | ||
|
||
REACT_APP_DBAPI_HOST='https://wmca-ianrose-dd-api.azurewebsites.net/api' | ||
REACT_APP_DBAPI_KEY='' |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,68 @@ | ||
{ | ||
"env": { | ||
"browser": true, | ||
"es6": true | ||
}, | ||
"extends": [ | ||
"react-app", | ||
"airbnb-typescript", | ||
"plugin:prettier/recommended", | ||
"plugin:jsx-a11y/recommended" | ||
], | ||
"parserOptions": { | ||
"sourceType": "module", | ||
"project": "./tsconfig.json", | ||
"ecmaFeatures": { | ||
"jsx": true | ||
}, | ||
"ecmaVersion": 2018 | ||
}, | ||
"plugins": ["jsx-a11y", "jam3"], | ||
"rules": { | ||
"react/no-danger": 0, // Turned this rule off for dangerouslySetInnerHTML, as we are using the jam3/no-sanitizer-with-danger rule to flag if we are using it without sanitizer | ||
"jam3/no-sanitizer-with-danger": [ | ||
2, | ||
{ | ||
"wrapperName": ["sanitize"] | ||
} | ||
], | ||
"react/jsx-filename-extension": [ | ||
1, | ||
{ | ||
"extensions": [".js", ".jsx", ".ts", ".tsx"] | ||
} | ||
], | ||
"react/jsx-curly-newline": 0, | ||
"react/jsx-one-expression-per-line": 0, | ||
"jsx-a11y/label-has-associated-control": [ | ||
2, | ||
{ | ||
"controlComponents": ["DebounceInput"], | ||
"depth": 3 | ||
} | ||
], | ||
// note you must disable the base rule as it can report incorrect errors | ||
"no-use-before-define": "off", | ||
"@typescript-eslint/no-use-before-define": ["error"], | ||
"import/extensions": [ | ||
"error", | ||
"ignorePackages", | ||
{ | ||
"js": "never", | ||
"jsx": "never", | ||
"ts": "never", | ||
"tsx": "never" | ||
} | ||
], | ||
"react/jsx-uses-react": 0, | ||
"react/react-in-jsx-scope": 0, | ||
"react/require-default-props": 0 | ||
}, | ||
"settings": { | ||
"import/resolver": { | ||
"node": { | ||
"moduleDirectory": ["node_modules", "src/"] | ||
} | ||
} | ||
} | ||
} |
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.