Skip to content

Commit

Permalink
installed typescript, everything related to redux is in .ts now
Browse files Browse the repository at this point in the history
  • Loading branch information
Dimi-Dun-Morogh committed May 20, 2021
1 parent 5537c04 commit 7657a7e
Show file tree
Hide file tree
Showing 35 changed files with 749 additions and 239 deletions.
35 changes: 23 additions & 12 deletions .eslintrc.json
Original file line number Diff line number Diff line change
@@ -1,33 +1,44 @@
{
"extends": [
"airbnb",
"prettier"
],
"plugins": ["@typescript-eslint"],
"extends": ["airbnb-typescript/base"],
"env": {
"browser": true,
"commonjs": true,
"es6": true,
"jest": true,
"node": true
},
"parser": "babel-eslint",
"parser": "@typescript-eslint/parser",
"parserOptions": {
"ecmaVersion": 6,
"ecmaFeatures": {
"jsx": true
},
"sourceType": "module",
"project": "./tsconfig.json"
},
"settings": {
"import/resolver": {
"typescript": {}
}
},
"rules": {
"consistent-return": "off",
"consistent-return": "off",
"jsx-a11y/href-no-hash": ["off"],
"jsx-a11y/no-static-element-interactions": "off",
"jsx-a11y/label-has-associated-control": "off",
"jsx-a11y/click-events-have-key-events": "off",
"jsx-a11y/no-noninteractive-element-interactions":"off",
"jsx-a11y/no-noninteractive-element-interactions": "off",
"react/jsx-props-no-spreading": "off",
"import/prefer-default-export" : "off",
"react/button-has-type":"off",
"react/no-unused-state": "off",
"import/prefer-default-export": "off",
"react/button-has-type": "off",
"react/no-unused-state": "off",
"import/no-extraneous-dependencies": "off",
"react/destructuring-assignment": "off",
"react/sort-comp": "off",
"react/prop-types": "off",
"react/jsx-filename-extension": ["warn", { "extensions": [".js", ".jsx"] }],
"no-shadow":"off",
// "react/jsx-filename-extension": ["warn", { "extensions": [".js", ".jsx", ".ts", ".tsx"] }],
"no-shadow": "off",
"max-len": [
"warn",
{
Expand Down
Loading

0 comments on commit 7657a7e

Please sign in to comment.