Skip to content

Commit 817a711

Browse files
committed
Merge remote-tracking branch 'glick-app/main'
2 parents 8bf9a60 + 05c638a commit 817a711

File tree

118 files changed

+19308
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

118 files changed

+19308
-0
lines changed

.env.example

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
REACT_APP_API_URL=https://glick.jennybelanger.local/api
2+
REACT_APP_COOKIE_PREFIX=glick
3+
REACT_APP_TITLE=Glick
4+
5+
ESLINT_NO_DEV_ERRORS=true
6+
INLINE_RUNTIME_CHUNK=false
7+
PUBLIC_URL=https://glick.jennybelanger.local

.eslintrc.json

Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
1+
{
2+
"extends": "airbnb",
3+
"env": {
4+
"browser": true,
5+
"jest": true
6+
},
7+
"ignorePatterns": ["build/**/*"],
8+
"parser": "@babel/eslint-parser",
9+
"rules": {
10+
"class-methods-use-this": 0,
11+
"comma-dangle": ["error", {
12+
"arrays": "always-multiline",
13+
"objects": "always-multiline",
14+
"imports": "always-multiline",
15+
"exports": "always-multiline",
16+
"functions": "never"
17+
}],
18+
"import/order": 0,
19+
"indent": ["error", "tab", { "SwitchCase": 1 }],
20+
"jsx-a11y/control-has-associated-label": 0,
21+
"jsx-a11y/heading-has-content": 0,
22+
"jsx-a11y/label-has-associated-control": 0,
23+
"jsx-a11y/label-has-for": 0,
24+
"jsx-a11y/media-has-caption": 0,
25+
"jsx-a11y/no-autofocus": 0,
26+
"max-len": ["error", { "code": 150 }],
27+
"no-param-reassign": 0,
28+
"no-tabs": 0,
29+
"object-curly-newline": ["error", { "multiline": true, "consistent": true }],
30+
"prefer-destructuring": 0,
31+
"react/destructuring-assignment": 0,
32+
"react/forbid-prop-types": 0,
33+
"react/function-component-definition": 0,
34+
"react/jsx-filename-extension": 0,
35+
"react/jsx-indent-props": ["error", "tab"],
36+
"react/jsx-indent": ["error", "tab"],
37+
"react/jsx-props-no-spreading": 0,
38+
"react/no-unstable-nested-components": 0,
39+
"react/require-default-props": 0,
40+
"react/state-in-constructor": ["error", "never"],
41+
"react/static-property-placement": ["error", "static public field"],
42+
"sort-imports": ["error", { "ignoreCase": true }]
43+
},
44+
"globals": {
45+
"before": "readonly",
46+
"cy": "readonly",
47+
"Cypress": "readonly"
48+
}
49+
}

.github/workflows/js.yml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
name: JS
2+
on: [push]
3+
jobs:
4+
ci:
5+
name: JS
6+
runs-on: ubuntu-latest
7+
steps:
8+
- uses: actions/setup-node@v3
9+
with:
10+
node-version: '22'
11+
- uses: actions/checkout@v3
12+
- run: yarn install
13+
- run: yarn run lint

.gitignore

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
.DS_Store
2+
.env
3+
.env.production
4+
.eslintcache
5+
.gitcommit
6+
*.log
7+
/build
8+
build.zip
9+
cypress.env.json
10+
node_modules
11+
TODO.md

.stylelintrc.json

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
{
2+
"extends": "stylelint-config-standard-scss",
3+
"plugins": [
4+
"stylelint-order",
5+
"@stylistic/stylelint-plugin"
6+
],
7+
"rules": {
8+
"declaration-no-important": true,
9+
"media-feature-name-no-unknown": null,
10+
"no-descending-specificity": null,
11+
"order/properties-alphabetical-order": true,
12+
"scss/dollar-variable-empty-line-before": null,
13+
"scss/dollar-variable-pattern": null,
14+
"scss/no-global-function-names": null,
15+
"selector-class-pattern": "[a-z0-9_-]+",
16+
"selector-id-pattern": "[a-z0-9_-]+",
17+
"@stylistic/indentation": "tab",
18+
"@stylistic/max-line-length": 150,
19+
"@stylistic/number-leading-zero": "never",
20+
"@stylistic/string-quotes": "single"
21+
}
22+
}

0 commit comments

Comments
 (0)