Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
ascoders committed May 6, 2019
1 parent d22b378 commit 89f228b
Show file tree
Hide file tree
Showing 9 changed files with 112 additions and 16,079 deletions.
81 changes: 81 additions & 0 deletions .eslintrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,81 @@
{
"parser": "@typescript-eslint/parser",
"parserOptions": {
"project": "./tsconfig.json"
},
"env": {
"jest": true,
"browser": true
},
"settings": {
"react": {
"version": "16.8"
},
"import/resolver": {
"node": {
"extensions": [
".js",
".jsx",
".ts",
".tsx",
".eslintrc"
]
},
"webpack": {
"config": {
"resolve": {
"alias": {
"src": "src"
}
}
}
}
}
},
"plugins": [
"@typescript-eslint",
"react-hooks"
],
"extends": [
"eslint:recommended",
"plugin:@typescript-eslint/recommended",
"plugin:react/recommended",
"airbnb-base",
"plugin:prettier/recommended",
"prettier",
"prettier/@typescript-eslint"
],
"rules": {
"import/prefer-default-export": 0,
"@typescript-eslint/explicit-function-return-type": 0,
"@typescript-eslint/interface-name-prefix": 0,
"no-use-before-define": [
"error",
{
"functions": false
}
],
"@typescript-eslint/no-use-before-define": 0,
"class-methods-use-this": 0,
"import/no-dynamic-require": false,
"consistent-return": 0,
"no-param-reassign": "off",
"@typescript-eslint/no-explicit-any": 0,
"prefer-destructuring": "off",
"import/no-extraneous-dependencies": false,
"react-hooks/rules-of-hooks": "error",
"react-hooks/exhaustive-deps": "warn",
"no-invalid-this": "off",
"react/display-name": false,
"no-await-in-loop": "off",
"no-restricted-syntax": "off",
"array-callback-return": "off",
"global-require": "off",
"@typescript-eslint/no-var-requires": 0,
"no-unused-vars": 0,
"no-script-url": "off",
"import/no-unresolved": [
0
]
}
}
4 changes: 3 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,6 @@
/npm-debug.log
/.idea
/package-lock.json
/declaration
/declaration
/yarn.lock
/.node
4 changes: 3 additions & 1 deletion .npmignore
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,6 @@
/.idea
/package-lock.json
/packages
/declaration
/declaration
/yarn.lock
/.node
Loading

0 comments on commit 89f228b

Please sign in to comment.