-
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 #221 from EyeSeeTea/development
- Loading branch information
Showing
285 changed files
with
22,627 additions
and
19,519 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,5 @@ | ||
> 0.5% | ||
last 2 versions | ||
Firefox ESR | ||
ie 11 | ||
not dead |
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,9 @@ | ||
BROWSER=false | ||
PORT=8081 | ||
SKIP_PREFLIGHT_CHECK=true | ||
REACT_APP_DHIS2_BASE_URL=https://dev.eyeseetea.com/play | ||
REACT_APP_DHIS2_AUTH='admin:district' | ||
|
||
CYPRESS_DHIS2_AUTH='admin:district' | ||
CYPRESS_EXTERNAL_API="https://dev.eyeseetea.com/play" | ||
CYPRESS_ROOT_URL=http://localhost:8081 |
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 @@ | ||
GENERATE_SOURCEMAP=false |
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 @@ | ||
/**/*.d.ts | ||
/src/locales |
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,54 @@ | ||
/** @format */ | ||
|
||
module.exports = { | ||
extends: [ | ||
"react-app", | ||
"eslint:recommended", | ||
"plugin:react/recommended", | ||
"plugin:cypress/recommended", | ||
"plugin:@typescript-eslint/recommended", | ||
], | ||
parser: "@typescript-eslint/parser", | ||
rules: { | ||
"no-console": ["warn", { allow: ["debug", "warn", "error"] }], | ||
"@typescript-eslint/camelcase": "off", | ||
"@typescript-eslint/explicit-function-return-type": ["off"], | ||
"unused-imports/no-unused-imports": "warn", | ||
"@typescript-eslint/no-unused-vars": ["warn", { argsIgnorePattern: "^_", varsIgnorePattern: "^_" }], | ||
"react/prop-types": "off", | ||
"react/display-name": "off", | ||
"react/react-in-jsx-scope": "off", | ||
"no-unused-expressions": "off", | ||
"no-useless-concat": "off", | ||
"no-useless-constructor": "off", | ||
"no-unexpected-multiline": "off", | ||
"default-case": "off", | ||
"@typescript-eslint/no-use-before-define": "off", | ||
"@typescript-eslint/no-explicit-any": "off", | ||
"@typescript-eslint/no-empty-interface": "off", | ||
"@typescript-eslint/ban-ts-ignore": "off", | ||
"@typescript-eslint/no-empty-function": "off", | ||
"@typescript-eslint/explicit-module-boundary-types": "off", | ||
"@typescript-eslint/ban-types": "off", | ||
"@typescript-eslint/ban-ts-comment": "off", | ||
"@typescript-eslint/no-var-requires": "off", | ||
"@typescript-eslint/indent": "off", | ||
"@typescript-eslint/member-delimiter-style": "off", | ||
"@typescript-eslint/type-annotation-spacing": "off", | ||
"@typescript-eslint/explicit-function-return-type": "off", | ||
"no-use-before-define": "off", | ||
"no-debugger": "warn", | ||
"no-extra-semi": "off", | ||
"no-mixed-spaces-and-tabs": "off", | ||
"react-hooks/rules-of-hooks": "error", | ||
"react-hooks/exhaustive-deps": "warn", | ||
}, | ||
plugins: ["cypress", "@typescript-eslint", "react-hooks", "unused-imports"], | ||
env: { "cypress/globals": true }, | ||
settings: { | ||
react: { | ||
pragma: "React", | ||
version: "16.6.0", | ||
}, | ||
}, | ||
}; |
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,10 @@ | ||
#!/bin/sh | ||
|
||
changed () { | ||
git diff --name-only HEAD@{1} HEAD | grep "^$1" > /dev/null 2>&1 | ||
} | ||
|
||
if changed 'yarn.lock'; then | ||
echo "Lockfile changes detected. Installing updates..." | ||
yarn install | ||
fi |
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,9 @@ | ||
### :pushpin: References | ||
|
||
- **Issue:** Closes #? | ||
|
||
### :memo: Implementation | ||
|
||
### :art: Screenshots | ||
|
||
### :fire: Testing |
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,26 +1,40 @@ | ||
*.iml | ||
.idea/* | ||
package-lock.json | ||
node_modules* | ||
.sass-cache | ||
src/css/* | ||
coverage/* | ||
# See https://help.github.com/articles/ignoring-files/ for more about ignoring files. | ||
|
||
# dependencies | ||
/node_modules | ||
|
||
# testing | ||
/coverage | ||
|
||
# production | ||
manifest.webapp | ||
*.zip | ||
/build | ||
|
||
# TODO: Jshint is a dependency of the git hook which installs these files on install... | ||
.jshintignore | ||
.jshintrc | ||
# misc | ||
.DS_Store | ||
.env.local | ||
.env.development.local | ||
.env.test.local | ||
.env.production.local | ||
*.sublime-project | ||
*.sublime-workspace | ||
*.code-workspace | ||
*.zip | ||
|
||
# Build folders 'build' for building the project 'target' being for the Maven deploy | ||
build/* | ||
target/* | ||
npm-debug.log* | ||
yarn-debug.log* | ||
yarn-error.log* | ||
|
||
npm-debug.log | ||
stats.json | ||
src/locales/ | ||
src/react-app.d.ts | ||
src/react-app-env.d.ts | ||
bak | ||
.eslintcache | ||
|
||
.vscode* | ||
# cypress | ||
cypress/screenshots/ | ||
cypress/videos/ | ||
cypress/fixtures/ | ||
|
||
# Ignore config.js | ||
config.js | ||
app-config.json | ||
# IntelliJ | ||
.idea/* |
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 @@ | ||
_ |
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,4 @@ | ||
#!/bin/sh | ||
. "$(dirname "$0")/_/husky.sh" | ||
|
||
./.githooks/dep-check |
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,4 @@ | ||
#!/bin/sh | ||
. "$(dirname "$0")/_/husky.sh" | ||
|
||
yarn prettify && yarn lint && yarn update-po && yarn test |
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,4 @@ | ||
build | ||
node_modules | ||
*.min.js | ||
*.min.css |
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,18 +1,18 @@ | ||
/** @format */ | ||
|
||
module.exports = { | ||
printWidth: 100, | ||
printWidth: 120, | ||
tabWidth: 4, | ||
useTabs: false, | ||
semi: true, | ||
singleQuote: false, | ||
trailingComma: 'es5', | ||
trailingComma: "es5", | ||
bracketSpacing: true, | ||
jsxBracketSameLine: false, | ||
arrowParens: 'avoid', | ||
arrowParens: "avoid", | ||
rangeStart: 0, | ||
rangeEnd: Infinity, | ||
proseWrap: 'preserve', | ||
proseWrap: "preserve", | ||
requirePragma: false, | ||
insertPragma: false, | ||
} | ||
}; |
Oops, something went wrong.