Skip to content

Commit

Permalink
eslint
Browse files Browse the repository at this point in the history
  • Loading branch information
Alexandr Kozhevnikov committed Mar 29, 2022
1 parent b36e2a6 commit f6b3285
Show file tree
Hide file tree
Showing 19 changed files with 1,747 additions and 1,565 deletions.
43 changes: 18 additions & 25 deletions .eslintrc
Original file line number Diff line number Diff line change
@@ -1,27 +1,20 @@
{
"extends": [
"prettier",
"eslint:recommended",
"plugin:react/recommended",
"plugin:jest/recommended"
],
"parser": "babel-eslint",
"parserOptions": {
"ecmaVersion": 7,
"sourceType": "module"
},
"env": {
"browser": true,
"node": true,
"es6": true,
"jest": true
},
"plugins": ["prettier", "react", "jest"],
"rules": {
"switch-colon-spacing": 0,
"require-jsdoc": 0,
"react/prop-types": 0,
"no-unused-vars": ["error"],
"no-console": 0
}
"root": true,
"parser": "@typescript-eslint/parser",
"plugins": ["@typescript-eslint", "react"],
"extends": [
"plugin:react/recommended",
"eslint:recommended",
"plugin:@typescript-eslint/eslint-recommended",
"plugin:@typescript-eslint/recommended"
],
"rules": {
"react/prop-types": "off",
"@typescript-eslint/no-empty-function": "off"
},
"settings": {
"react": {
"version": "detect"
}
}
}
2 changes: 2 additions & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
node_modules
package-lock.json
Loading

0 comments on commit f6b3285

Please sign in to comment.