File tree Expand file tree Collapse file tree 6 files changed +24
-23
lines changed Expand file tree Collapse file tree 6 files changed +24
-23
lines changed Original file line number Diff line number Diff line change 37
37
}
38
38
},
39
39
{
40
- "files" : [" ./cz-adapter/" ],
40
+ "files" : [" ./cz-adapter/**/*" ],
41
+ "extends" : [" @rebeccastevens/eslint-config/script" ],
41
42
"rules" : {
42
43
"@typescript-eslint/no-unsafe-argument" : " off" ,
43
44
"@typescript-eslint/no-unsafe-assignment" : " off" ,
44
45
"@typescript-eslint/no-unsafe-call" : " off" ,
45
46
"@typescript-eslint/no-unsafe-member-access" : " off" ,
46
47
"@typescript-eslint/no-unsafe-return" : " off" ,
47
- "jsdoc/require-jsdoc" : " off"
48
+ "import/no-extraneous-dependencies" : [
49
+ " error" ,
50
+ {
51
+ "devDependencies" : true ,
52
+ "peerDependencies" : true
53
+ }
54
+ ],
55
+ "functional/immutable-data" : " off" ,
56
+ "jsdoc/require-jsdoc" : " off" ,
57
+ "unicorn/prefer-module" : " off"
48
58
}
49
59
},
50
60
{
61
71
}
62
72
},
63
73
{
64
- "files" : [" ./typings/" ],
74
+ "files" : [" ./typings/**/* " ],
65
75
"extends" : [" plugin:functional/off" ],
66
76
"rules" : {
67
77
"@typescript-eslint/no-unused-vars" : " off" ,
Original file line number Diff line number Diff line change 6
6
workflow_call :
7
7
8
8
jobs :
9
- lint_js :
9
+ lint_docs :
10
10
runs-on : ubuntu-latest
11
11
steps :
12
12
- uses : actions/checkout@v3
13
13
- uses : ./.github/actions/prepare
14
+ - run : pnpm run build:node
14
15
- run : pnpm run lint:eslint-docs
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1
1
require ( "ts-node" ) . register ( {
2
- transpileOnly : true ,
3
- emit : true ,
4
- compilerOptions : {
5
- module : "CommonJS" ,
6
- } ,
2
+ cwd : __dirname ,
3
+ project : "./tsconfig.json" ,
7
4
} ) ;
8
5
require ( "tsconfig-paths" ) . register ( ) ;
9
6
7
+ // @ts -ignore
10
8
module . exports = require ( "./index.ts" ) ;
Original file line number Diff line number Diff line change 2
2
"extends" : " ../tsconfig.base.json" ,
3
3
"compilerOptions" : {
4
4
"module" : " commonjs" ,
5
+ "moduleResolution" : " node" ,
5
6
"skipLibCheck" : true ,
6
7
"declaration" : false
8
+ },
9
+ "ts-node" : {
10
+ "emit" : true ,
11
+ "transpileOnly" : true
7
12
}
8
13
}
Original file line number Diff line number Diff line change 62
62
"lint:prettier-fix" : " prettier \" **/*\" --ignore-unknown --write" ,
63
63
"lint:spelling" : " cspell \" **\" \" .github/**/*\" " ,
64
64
"prepare" : " husky install" ,
65
+ "release" : " semantic-release" ,
65
66
"test" : " pnpm run test:js" ,
66
67
"test-compiled" : " USE_COMPILED_TESTS=1 nyc ava" ,
67
68
"test-work" : " ONLY_TEST_WORK_FILE=1 ava" ,
You can’t perform that action at this time.
0 commit comments