Skip to content

Commit

Permalink
chore eslint (#26)
Browse files Browse the repository at this point in the history
  • Loading branch information
laendoor authored Jan 3, 2024
1 parent d4efc1e commit c01db8e
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 6 deletions.
1 change: 1 addition & 0 deletions .eslintignore
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
jest.config.js
coverage/
12 changes: 7 additions & 5 deletions .eslintrc.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
{
"parser": "@typescript-eslint/parser",
"extends": [
"airbnb-base",
"airbnb-typescript/base",
"plugin:@typescript-eslint/recommended",
"plugin:import/recommended",
Expand All @@ -10,18 +9,22 @@
],
"env": {
"node": true,
"es2021": true,
"browser": true
"es2021": true
},
"parserOptions": {
"project": "./tsconfig.json",
"sourceType": "module"
},
"plugins": ["@typescript-eslint", "import"],
"settings": {
"import/extensions": [".js", ".jsx", ".d.ts", ".ts"],
"import/parsers": {
"@typescript-eslint/parser": [".ts"]
},
"import/resolver": {
"node": {
"extensions": [".js", ".jsx", ".d.ts", ".ts", ".tsx"]
"extensions": [".js", ".d.ts", ".ts"],
"moduleDirectory": ["src", "node_modules"]
}
}
},
Expand All @@ -44,7 +47,6 @@
"allowSeparatedGroups": true
}
],
"import/no-unresolved": "error",
"import/order": [
"error",
{
Expand Down
1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,6 @@
"babel-eslint": "^10.1.0",
"dotenv-cli": "^7.3.0",
"eslint": "^8.56.0",
"eslint-config-airbnb-base": "^15.0.0",
"eslint-config-airbnb-typescript": "^17.1.0",
"eslint-config-prettier": "9.1.0",
"eslint-import-resolver-typescript": "3.6.1",
Expand Down

0 comments on commit c01db8e

Please sign in to comment.