-
Notifications
You must be signed in to change notification settings - Fork 2
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
0 parents
commit dacf31b
Showing
494 changed files
with
69,567 additions
and
0 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,3 @@ | ||
.eslintrc.js | ||
node_modules | ||
dist |
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,53 @@ | ||
module.exports = { | ||
env: { | ||
browser: true, | ||
es2020: true, | ||
node: true, | ||
jest: true | ||
}, | ||
extends: [ | ||
"standard", | ||
"plugin:react/recommended", | ||
"plugin:@typescript-eslint/recommended", | ||
"prettier/@typescript-eslint" | ||
], | ||
parser: "@typescript-eslint/parser", | ||
parserOptions: { | ||
ecmaFeatures: { | ||
jsx: true | ||
}, | ||
ecmaVersion: 11, | ||
sourceType: "module" | ||
}, | ||
plugins: [ | ||
"react", | ||
"prettier", | ||
"@typescript-eslint" | ||
], | ||
rules: { | ||
"react/prop-types": "off", | ||
'@typescript-eslint/camelcase': 'off', | ||
'@typescript-eslint/explicit-function-return-type': 'off', | ||
"@typescript-eslint/no-var-requires": 'off', | ||
"@typescript-eslint/ban-ts-comment": 'off', | ||
"import/extensions": [ | ||
"error", | ||
"ignorePackages", | ||
{ | ||
ts: "never", | ||
tsx: "never" | ||
} | ||
] | ||
}, | ||
settings: { | ||
"import/resolver": { | ||
typescript: {} | ||
}, | ||
react: { | ||
createClass: "createReactClass", | ||
pragma: "React", | ||
version: "detect", | ||
flowVersion: "0.53" | ||
} | ||
} | ||
} |
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 @@ | ||
/node_modules/ |
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,11 @@ | ||
module.exports = api => { | ||
api.cache.using(() => process.env.NODE_ENV) | ||
|
||
return { | ||
presets: [ | ||
'@babel/preset-env', | ||
'@babel/preset-react', | ||
'@babel/preset-typescript' | ||
] | ||
} | ||
} |
Oops, something went wrong.