-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathcreate-typescript-app.config.js
More file actions
39 lines (38 loc) · 995 Bytes
/
create-typescript-app.config.js
File metadata and controls
39 lines (38 loc) · 995 Bytes
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
30
31
32
33
34
35
36
37
38
39
// 👋 Hi! This is an optional config file for create-typescript-app (CTA).
// Repos created with CTA or its underlying framework Bingo don't use one by default.
// A CTA config file allows automatic updates to the repo that preserve customizations.
// For more information, see Bingo's docs:
// https://www.create.bingo/execution#transition-mode
// Eventually these values should be inferable, making this config file unnecessary:
// https://github.com/JoshuaKGoldberg/bingo/issues/128
import {
blockESLint,
blockKnip,
blockNcc,
blockReleaseIt,
blockTSup,
createConfig,
} from "create-typescript-app";
export default createConfig({
refinements: {
addons: [
blockESLint({
rules: [
{
entries: {
"n/no-missing-import": "off",
},
},
],
}),
blockKnip({
entry: ["src/action/index.ts"],
ignoreDependencies: ["create-typescript-app"],
}),
],
blocks: {
add: [blockNcc],
exclude: [blockReleaseIt, blockTSup],
},
},
});