forked from monorepolint/monorepolint
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.monorepolint.config.ts
49 lines (47 loc) · 1.29 KB
/
.monorepolint.config.ts
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
40
41
42
43
44
45
46
47
48
49
/*!
* Copyright 2019 Palantir Technologies, Inc.
*
* Licensed under the MIT license. See LICENSE file in the project root for details.
*
*/
const DOCS = "@monorepolint/docs";
module.exports = {
rules: {
":standard-tsconfig": {
options: {
templateFile: "./templates/tsconfig.json"
},
excludePackages: [DOCS],
},
":file-contents": {
options: {
file: "jest.config.js",
templateFile: "./templates/jest.config.js"
},
excludePackages: [DOCS],
},
":package-script": {
options: {
scripts: {
clean: "rm -rf build lib node_modules *.tgz tsconfig.tsbuildinfo",
"compile:typescript": "../../node_modules/.bin/tsc",
"lint:typescript":
"../../node_modules/.bin/tslint --config ../../tslint.json --project .",
"test:watch":
"../../node_modules/.bin/jest --colors --passWithNoTests --watch",
test: "../../node_modules/.bin/jest --colors --passWithNoTests"
}
},
excludePackages: [DOCS],
},
":package-order": true,
":alphabetical-dependencies": true,
":alphabetical-scripts": true,
":consistent-dependencies": true,
":banned-dependencies": {
options: {
bannedDependencies: ["lodash"]
}
}
}
};