Skip to content

Commit

Permalink
first commit
Browse files Browse the repository at this point in the history
  • Loading branch information
rafaelsnogueira committed Jan 8, 2022
0 parents commit dacf31b
Show file tree
Hide file tree
Showing 494 changed files with 69,567 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .eslintignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
.eslintrc.js
node_modules
dist
53 changes: 53 additions & 0 deletions .eslintrc.js
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"
}
}
}
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
/node_modules/
11 changes: 11 additions & 0 deletions babel.config.js
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'
]
}
}

0 comments on commit dacf31b

Please sign in to comment.