-
Notifications
You must be signed in to change notification settings - Fork 5
/
.eslintrc.cjs
29 lines (29 loc) · 940 Bytes
/
.eslintrc.cjs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
module.exports = {
extends: ["./node_modules/jaz-ts-utils/.eslintrc.js", "plugin:require-extensions/recommended"],
env: {
node: true,
browser: false,
},
parser: "@typescript-eslint/parser",
parserOptions: {
ecmaVersion: 2022,
sourceType: "module",
},
plugins: ["import", "node"],
rules: {
// Rules should only be added here for testing temporarily and should eventually be moved into jaz-ts-utils to ensure consistency across projects
"func-style": ["error", "declaration"],
"import/extensions": ["error", "ignorePackages"],
// "node/file-extension-in-import": ["error", "always"],
},
settings: {
"import/parsers": {
"@typescript-eslint/parser": [".ts"],
},
// "import/resolver": {
// typescript: {
// project: "./tsconfig.json",
// },
// },
},
};