Skip to content

Commit

Permalink
4.8.0 (#2162)
Browse files Browse the repository at this point in the history
  • Loading branch information
stackchain authored Oct 6, 2022
1 parent 530dbca commit 58c5125
Show file tree
Hide file tree
Showing 1,015 changed files with 25,504 additions and 42,114 deletions.
20 changes: 16 additions & 4 deletions src/.eslintrc.js → .eslintrc.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,18 @@
// @flow

module.exports = {
parser: '@typescript-eslint/parser',
parserOptions: {
ecmaVersion: 'latest',
sourceType: 'module',
project: ['tsconfig.json'],
},
overrides: [
{
files: ['*.tsx'],
rules: {
'@typescript-eslint/strict-boolean-expressions': ['error', {allowString: false, allowNumber: false, allowNullableBoolean: true}],
},
},
],
extends: [
'eslint:recommended',
'plugin:react/recommended',
Expand Down Expand Up @@ -37,8 +48,9 @@ module.exports = {
'simple-import-sort/imports': 'error',
'spaced-comment': 1,
'no-unused-vars': 'off',
'@typescript-eslint/no-unused-vars': ['error', {argsIgnorePattern: '^_'}],
'react/jsx-curly-brace-presence': ['warn', {props: 'never', children: 'never'}]
'@typescript-eslint/no-unused-vars': ['error', {argsIgnorePattern: '^_', varsIgnorePattern: '^_'}],
'react/jsx-curly-brace-presence': ['warn', {props: 'never', children: 'never'}],
'no-return-await': 'error',
},
globals: {
Buffer: false,
Expand Down
96 changes: 0 additions & 96 deletions .flowconfig

This file was deleted.

8 changes: 4 additions & 4 deletions .github/pr-labeler.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
feature: ['feature/*', '\[feature\]', 'feature\-*']
fix: ['fix/*', '\[fix\]', 'fix\-*']
chore: ['chore/*', '\[chore\]', 'chore\-*']
refactor: ['refactor/*', '\[refactor\]', 'refactor\-*']
feature: ['feature/*', '\[feature\]', 'feature\-*', 'feature:']
fix: ['fix/*', '\[fix\]', 'fix\-*', 'fix:']
chore: ['chore/*', '\[chore\]', 'chore\-*', 'chore:']
refactor: ['refactor/*', '\[refactor\]', 'refactor\-*', 'refactor:']
13 changes: 0 additions & 13 deletions .github/workflows/pr-authoring.yml

This file was deleted.

8 changes: 4 additions & 4 deletions .github/workflows/pr-checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: PR Checks
on: [push]

jobs:
flow:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
Expand All @@ -12,8 +12,8 @@ jobs:
node-version: '16.5.0'
cache: 'yarn'
- run: yarn install
- run: yarn flow
lint:
- run: yarn lint
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
Expand All @@ -22,4 +22,4 @@ jobs:
node-version: '16.5.0'
cache: 'yarn'
- run: yarn install
- run: yarn lint
- run: yarn test --ci --bail --silent
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ DerivedData
*.xcuserstate
*.d
*.dia
.dependencygraph

# Android/IntelliJ
#
Expand Down Expand Up @@ -110,3 +111,6 @@ coverage-ts
#Test's data
tests/app
tests/artifacts

coverage/
.jest/
2 changes: 1 addition & 1 deletion .husky/pre-commit
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@
. "$(dirname "$0")/_/husky.sh"

npx lint-staged
yarn flow
yarn tsc
yarn test --ci --bail --silent
2 changes: 0 additions & 2 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -1,2 +0,0 @@
translations
src/i18n
Loading

0 comments on commit 58c5125

Please sign in to comment.