Skip to content

Commit

Permalink
add lint
Browse files Browse the repository at this point in the history
  • Loading branch information
calliope-pro committed Sep 28, 2022
1 parent e32d1c0 commit 3ee4241
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 7 deletions.
1 change: 1 addition & 0 deletions .eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
"no-var": "error",
"prefer-const": "error",
"no-console": "warn",
"no-restricted-imports": ["error", {"patterns": ["../"]}],
"@typescript-eslint/no-non-null-assertion": "off",
"@typescript-eslint/no-misused-promises": [
"error",
Expand Down
13 changes: 7 additions & 6 deletions .prettierrc
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
{
"semi": true,
"trailingComma": "all",
"singleQuote": true,
"jsxSingleQuote": false,
"bracketSameLine": false
}
"semi": true,
"trailingComma": "all",
"singleQuote": true,
"jsxSingleQuote": false,
"bracketSameLine": false,
"tabWidth": 4
}
3 changes: 2 additions & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,8 @@
"incremental": true,
"baseUrl": "./",
"paths": {
"#src/*": ["src/*"]
"#src/*": ["src/*"],
"#/*": ["./*"],
}
},
"include": ["next-env.d.ts", "**/*.ts", "**/*.tsx", "./src/*"],
Expand Down

0 comments on commit 3ee4241

Please sign in to comment.