Skip to content

Commit

Permalink
chore: add api hook and mobx setup with login and logout feature
Browse files Browse the repository at this point in the history
  • Loading branch information
shafin-deriv committed Apr 19, 2024
1 parent dfd476d commit 8d42079
Show file tree
Hide file tree
Showing 25 changed files with 17,337 additions and 16,736 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build-and-deploy-staging.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ jobs:
run: npm run build

- name: Run tests for Eslint
run: npm run test:eslint
run: npm run test:lint

- name: Run unit tests and coverage report
run: npm run test
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/build-and-deploy-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ jobs:
run: npm run build

- name: Run tests for Eslint
run: npm run test:eslint
run: npm run test:lint

- name: Run unit tests and coverage report
run: npm run test
Expand Down
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@ npm-debug.log
lerna-debug.log
coverage

key.pem
cert.pem

.env
.env.local
*.secret
Expand Down
16 changes: 1 addition & 15 deletions .stylelintrc.cjs
Original file line number Diff line number Diff line change
@@ -1,34 +1,23 @@
module.exports = {
plugins: ['stylelint-no-unsupported-browser-features'],
rules: {
'at-rule-name-space-after': 'always',
'color-named': 'never',
'color-no-invalid-hex': true,
'declaration-bang-space-after': 'never',
'declaration-bang-space-before': 'always',
'declaration-block-no-duplicate-properties': [true, { ignore: ['consecutive-duplicates'] }],
'declaration-block-no-shorthand-property-overrides': true,
'font-family-name-quotes': 'always-unless-keyword',
'function-calc-no-unspaced-operator': true,
'function-name-case': 'lower',
'function-url-quotes': 'always',
'media-feature-colon-space-after': 'always',
'media-feature-colon-space-before': 'never',
'media-feature-range-operator-space-after': 'always',
'media-feature-range-operator-space-before': 'always',
'no-duplicate-selectors': true,
'no-invalid-double-slash-comments': true,
'number-max-precision': 3,
'selector-attribute-brackets-space-inside': 'never',
'selector-attribute-operator-space-after': 'never',
'selector-attribute-operator-space-before': 'never',
'selector-pseudo-class-no-unknown': [
true,
{
ignorePseudoClasses: ['export'],
},
],
'selector-pseudo-class-parentheses-space-inside': 'never',
'selector-pseudo-element-colon-notation': 'single',
'selector-pseudo-element-no-unknown': true,
'selector-type-case': 'lower',
Expand All @@ -39,9 +28,6 @@ module.exports = {
'unit-allowed-list': ['fr', 'px', 'em', 'rem', '%', 'svh', 'vw', 'vh', 'deg', 'ms', 's', 'dpcm'],
'value-keyword-case': 'lower',
},
extends: [
// other configs ...
'stylelint-config-prettier',
],
extends: ['stylelint-config-standard-scss'],
ignoreFiles: ['packages/*/dist/**/*.css'],
};
Loading

0 comments on commit 8d42079

Please sign in to comment.