Skip to content

Commit

Permalink
docs(all): fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
janryWang committed Apr 5, 2021
1 parent 1b6e63f commit 5c7a77f
Showing 1 changed file with 16 additions and 1 deletion.
17 changes: 16 additions & 1 deletion .eslintrc
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,12 @@
"env": {
"node": true
},
"extends": "plugin:markdown/recommended",
"extends": [
"plugin:react/recommended",
"plugin:@typescript-eslint/recommended",
"prettier/@typescript-eslint",
"plugin:markdown/recommended"
],
"globals": {
"sleep": true,
"prettyFormat": true
Expand All @@ -16,8 +21,16 @@
},
"parser": "@typescript-eslint/parser",
"plugins": [
"@typescript-eslint",
"react",
"prettier",
"markdown"
],
"settings": {
"react": {
"version": "detect"
}
},
"overrides": [
{
"files": [
Expand All @@ -30,7 +43,9 @@
"**/*.md/*.{js,tsx}"
],
"rules": {
"@typescript-eslint/explicit-module-boundary-types": "off",
"@typescript-eslint/no-unused-vars": "error",
"react/display-name": "off",
"no-unused-vars": "error",
"no-console": "off"
}
Expand Down

0 comments on commit 5c7a77f

Please sign in to comment.