-
Notifications
You must be signed in to change notification settings - Fork 26
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
Showing
321 changed files
with
32,860 additions
and
46,639 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
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,51 @@ | ||
module.exports = { | ||
extends: 'erb/typescript', | ||
rules: { | ||
'@typescript-eslint/ban-ts-comment': 'warn', | ||
'@typescript-eslint/no-use-before-define': 'off', | ||
'@typescript-eslint/naming-convention': 'off', | ||
'consistent-return': 'warn', | ||
'dot-notation': 'off', | ||
'import/no-extraneous-dependencies': 'off', | ||
'import/prefer-default-export': 'off', | ||
'jsx-a11y/anchor-is-valid': 'warn', | ||
'jsx-a11y/click-events-have-key-events': 'warn', | ||
'lines-between-class-members': 'off', | ||
'max-classes-per-file': 'off', | ||
'no-param-reassign': 'off', | ||
'no-plusplus': 'off', | ||
'no-restricted-syntax': 'off', | ||
'prefer-destructuring': 'warn', | ||
'promise/no-return-wrap': 'warn', | ||
'react/destructuring-assignment': 'off', | ||
'react/jsx-curly-newline': 'off', | ||
'react/jsx-one-expression-per-line': 'off', | ||
'react/jsx-props-no-spreading': 'off', | ||
'react/jsx-wrap-multilines': 'off', | ||
'react/no-access-state-in-setstate': 'warn', | ||
'react/no-array-index-key': 'off', | ||
'react/no-did-update-set-state': 'warn', | ||
'react/no-will-update-set-state': 'warn', | ||
'react/prop-types': 'off', | ||
'react/static-property-placement': 'off', | ||
}, | ||
parserOptions: { | ||
ecmaVersion: 2020, | ||
sourceType: 'module', | ||
project: './tsconfig.json', | ||
tsconfigRootDir: __dirname, | ||
createDefaultProgram: true, | ||
}, | ||
settings: { | ||
'import/resolver': { | ||
// See https://github.com/benmosher/eslint-plugin-import/issues/1396#issuecomment-575727774 for line below | ||
node: {}, | ||
webpack: { | ||
config: require.resolve('./configs/webpack.config.eslint.js'), | ||
}, | ||
}, | ||
'import/parsers': { | ||
'@typescript-eslint/parser': ['.ts', '.tsx'], | ||
}, | ||
}, | ||
}; |
This file was deleted.
Oops, something went wrong.
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,6 @@ | ||
requiredHeaders: | ||
- Prerequisites | ||
- Expected Behavior | ||
- Current Behavior | ||
- Possible Solution | ||
- Your Environment |
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,36 @@ | ||
name: Test | ||
|
||
on: push | ||
|
||
jobs: | ||
release: | ||
runs-on: ${{ matrix.os }} | ||
|
||
strategy: | ||
matrix: | ||
os: [macos-latest, windows-2019, ubuntu-18.04] | ||
|
||
steps: | ||
- name: Check out Git repository | ||
uses: actions/checkout@v1 | ||
|
||
- name: Install Node.js, NPM and Yarn | ||
uses: actions/setup-node@v1 | ||
with: | ||
node-version: 13 | ||
|
||
- name: yarn install | ||
run: | | ||
yarn install | ||
- name: yarn test | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
run: | | ||
yarn package-ci | ||
yarn lint | ||
yarn tsc | ||
# Failing because virtual framebuffer not installed | ||
# yarn build-e2e | ||
# yarn test-e2e |
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 was deleted.
Oops, something went wrong.
Oops, something went wrong.