Skip to content

Commit

Permalink
lint: fix estlint
Browse files Browse the repository at this point in the history
  • Loading branch information
GSTJ committed May 12, 2023
1 parent 34b48f9 commit e826327
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 3 deletions.
19 changes: 18 additions & 1 deletion .eslintrc
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,27 @@
"ignorePatterns": ["lib/", "reports/"],
"parser": "@typescript-eslint/parser",
"plugins": ["@typescript-eslint", "prettier"],
"settings": {
"import/resolver": {
"node": {
"extensions": [".js", ".jsx", ".ts", ".tsx"]
}
}
},
"rules": {
"max-len": "off",
"no-template-curly-in-string": "off",
"global-require": "off"
"global-require": "off",
"import/extensions": [
"error",
"ignorePackages",
{
"js": "never",
"jsx": "never",
"ts": "never",
"tsx": "never"
}
]
},
"overrides": [
{
Expand Down
6 changes: 4 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,12 +32,12 @@
"license": "MIT",
"devDependencies": {
"@typescript-eslint/eslint-plugin": "^5.59.5",
"@typescript-eslint/experimental-utils": "^5.59.5",
"@typescript-eslint/parser": "^5.59.5",
"aud": "^2.0.2",
"auto-changelog": "^2.4.0",
"eslint": "^3 || ^4 || ^5 || ^6 || ^7 || ^8",
"eslint-config-airbnb-base": "^15.0.0",
"eslint-config-prettier": "^8.8.0",
"eslint-doc-generator": "^1.4.1",
"eslint-plugin-eslint-plugin": "^4.3.0",
"eslint-plugin-import": "^2.26.0",
Expand Down Expand Up @@ -89,5 +89,7 @@
"CONTRIBUTING.md"
]
},
"dependencies": {}
"dependencies": {
"@typescript-eslint/experimental-utils": "^5.59.5"
}
}

0 comments on commit e826327

Please sign in to comment.