File tree 8 files changed +69
-54
lines changed
8 files changed +69
-54
lines changed Original file line number Diff line number Diff line change
1
+ {
2
+ "plugins": ["@typescript-eslint/eslint-plugin", "eslint-plugin-tsdoc"],
3
+ "extends": [
4
+ "turbo",
5
+ "prettier",
6
+ "plugin:prettier/recommended",
7
+ "plugin:@typescript-eslint/recommended",
8
+ ],
9
+ "env": {
10
+ "node": true,
11
+ },
12
+ "parserOptions": {
13
+ "ecmaVersion": 2022,
14
+ "ecmaFeatures": {},
15
+ },
16
+ "settings": {},
17
+ "rules": {
18
+ "tsdoc/syntax": "warn",
19
+ "space-before-function-parens": 0,
20
+ "@typescript-eslint/no-unused-vars": "error",
21
+ "import/export": 0,
22
+ "@typescript-eslint/ban-ts-comment": "warn",
23
+ "@typescript-eslint/no-empty-interface": "warn",
24
+ "@typescript-eslint/consistent-type-imports": "warn",
25
+ "@typescript-eslint/no-explicit-any": "warn",
26
+ },
27
+ }
Original file line number Diff line number Diff line change
1
+ dist
2
+ node_modules
3
+ pnpm-lock.yaml
Original file line number Diff line number Diff line change 7
7
"importOrder": ["<THIRD_PARTY_MODULES>", "^[./]"],
8
8
"importOrderSeparation": false,
9
9
"importOrderSortSpecifiers": true,
10
- "importOrderParserPlugins": ["typescript"]
10
+ "importOrderParserPlugins": ["typescript"],
11
+ "plugins": ["@trivago/prettier-plugin-sort-imports"]
11
12
}
Original file line number Diff line number Diff line change 1
1
{
2
+ "extends" : " ../tsconfig.json" ,
3
+ "include" : [" ./src" ],
2
4
"compilerOptions" : {
3
- "lib" : [" ESNext" ],
4
- "target" : " ESNext" ,
5
- "module" : " ESNext" ,
6
- "moduleDetection" : " force" ,
7
- "moduleResolution" : " Node16" ,
8
- "declaration" : true ,
9
- "declarationMap" : true ,
10
- "declarationDir" : " dist" ,
11
- "allowJs" : true ,
12
- "strict" : true ,
13
- "skipLibCheck" : true ,
14
- "esModuleInterop" : true ,
15
- "sourceMap" : true ,
16
- "outDir" : " dist"
17
- },
18
- "include" : [" **/*.ts" ]
5
+ // match output dir to input dir. e.g. dist/index instead of dist/src/index
6
+ "rootDir" : " ./src" ,
7
+ "declarationDir" : " ./dist" ,
8
+ "outDir" : " ./dist"
9
+ }
19
10
}
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1
1
{
2
+ "extends" : " ../tsconfig.json" ,
3
+ "include" : [" ./src" ],
2
4
"compilerOptions" : {
3
- "lib" : [" ESNext" ],
4
- "target" : " ESNext" ,
5
- "module" : " ESNext" ,
6
- "moduleDetection" : " force" ,
7
- "moduleResolution" : " Node16" ,
8
- "allowJs" : true ,
9
- "strict" : true ,
10
- "skipLibCheck" : true ,
11
- "esModuleInterop" : true ,
12
- "outDir" : " dist"
13
- },
14
- "include" : [" **/*.ts" ]
5
+ // match output dir to input dir. e.g. dist/index instead of dist/src/index
6
+ "rootDir" : " ./src" ,
7
+ "declarationDir" : " ./dist" ,
8
+ "outDir" : " ./dist"
9
+ }
15
10
}
Original file line number Diff line number Diff line change 1
1
{
2
+ "extends" : " ../../tsconfig.json" ,
3
+ "include" : [" ./src" ],
2
4
"compilerOptions" : {
3
- "lib" : [" ESNext" ],
4
- "target" : " ESNext" ,
5
- "module" : " ESNext" ,
6
- "moduleDetection" : " force" ,
7
- "moduleResolution" : " Node16" ,
8
- "declaration" : true ,
9
- "allowJs" : true ,
10
- "strict" : true ,
11
- "skipLibCheck" : true ,
12
- "esModuleInterop" : true ,
13
- "sourceMap" : true ,
14
- "outDir" : " dist"
15
- },
16
- "include" : [" **/*.ts" ]
5
+ // match output dir to input dir. e.g. dist/index instead of dist/src/index
6
+ "rootDir" : " ./src" ,
7
+ "declarationDir" : " ./dist" ,
8
+ "outDir" : " ./dist"
9
+ }
17
10
}
Original file line number Diff line number Diff line change
1
+ {
2
+ "compilerOptions" : {
3
+ "lib" : [" ES2022" ],
4
+ "target" : " ES2022" ,
5
+ "module" : " Node16" ,
6
+ "moduleDetection" : " force" ,
7
+ "moduleResolution" : " Node16" ,
8
+ "declaration" : true ,
9
+ "declarationMap" : true ,
10
+ "allowJs" : false ,
11
+ "strict" : true ,
12
+ "skipLibCheck" : true ,
13
+ "esModuleInterop" : true ,
14
+ "sourceMap" : true
15
+ }
16
+ }
You can’t perform that action at this time.
0 commit comments