Skip to content

Commit f20973c

Browse files
author
Frank M. Taylor
committed
deals with getting linter and ts to handle imports
1 parent 2af270e commit f20973c

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

.eslintrc

+17
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,13 @@
2929
},
3030
"rules": {
3131
"max-len": ["error", {"code": 180 }],
32+
"import/extensions": [
33+
"error",
34+
"ignorePackages",
35+
{
36+
"ts": "never"
37+
}
38+
]
3239
},
3340
"plugins": [
3441
"jsdoc",
@@ -37,6 +44,16 @@
3744
"settings": {
3845
"jsdoc": {
3946
"mode": "typescript"
47+
},
48+
"import/extensions": [".js", ".ts"],
49+
"import/parsers": {
50+
"@typescript-eslint/parser": [".ts"]
51+
},
52+
"import/resolver": {
53+
"node": {
54+
"extensions": [".js", ".ts", ".d.ts"],
55+
"paths": ["src"]
56+
}
4057
}
4158
}
4259
}

0 commit comments

Comments
 (0)