-
Notifications
You must be signed in to change notification settings - Fork 29
/
dependency-lint.yml
68 lines (62 loc) · 1.26 KB
/
dependency-lint.yml
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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
# See https://github.com/charlierudolph/dependency-lint/blob/v4.2.0/docs/configuration.md
# for a detailed explanation of the options
executedModules:
npmScripts:
dev:
- dev
- start
- build
- prepublish
- gh-pages
- lint
- autofix
- validate
- test
shellScripts:
dev: []
ignore: []
root: ''
ignoreErrors:
missing:
- react-dom
- object-assign
- fbjs
- _process
shouldBeDependency:
- react-dom
shouldBeDevDependency: []
unused:
# babel plugins & presets
- babel-plugin-*
- babel-preset-*
# browserify plugins
- babelify
- browserify-global-shim
- minifyify
- uglifyify
# eslint parser, plugins, & config
- babel-eslint
- eslint-plugin-*
- eslint-config-*
# css dependencies
- watson-ui-component
# pre-commit
- pre-commit
requiredModules:
files:
dev:
- '{features,spec,test}/**/*'
- '**/*{.,_,-}{spec,test}.js'
- 'gulpfile.js'
- 'example/src/**/*'
ignore:
- 'node_modules/**/*'
- 'dist/**/*'
- 'example/build/**/*'
root: '**/*.js'
stripLoaders: false
transpilers:
- extension: .js
fnName: transform
module: babel-core
resultKey: code