-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.sharedconfig.yml
56 lines (48 loc) · 1.39 KB
/
.sharedconfig.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
dependencies:
- "@mafalda-sfu/eslint-config": ^0.3.0
- cspell: ^6.31.1
- eslint: ^8.41.0
- husky: ^8.0.3
- jscpd: ^3.5.9
- jsdoc-to-markdown: ^8.0.0
- madge: ^6.1.0
- textlint: ^13.3.3
- textlint-rule-editorconfig: Mafalda-SFU/textlint-rule-editorconfig
mergeRules:
.cspell.txt:
.gitignore:
.npmignore:
# https://eslint.org/docs/latest/contribute/package-json-conventions
scripts:
# Project development setup
prepare: run-s prepare:*
prepare:build: npm run build
prepare:install-git-hooks: husky install
docs:madge: madge . --image madge.svg
# Linters
lint: run-s 'lint:!(fix)'
lint:fix: run-s lint:fix:*
## Code linters
lint:code: run-s lint:code:*
lint:code:circular-dependencies: madge . --circular
lint:code:duplicated-code: jscpd .
lint:code:static-analysis: eslint .
lint:fix:code: run-s lint:fix:code:*
lint:fix:code:static-analysis: npm run lint:code:static-analysis -- --fix
## Docs linters
lint:docs: run-s lint:docs:*
lint:docs:readme: standard-readme
lint:docs:spell-checker: cspell
lint:text: textlint .
lint:fix:text: npm run lint:text -- --fix
# Build for release
build: run-s build:*
# Docs generation
predocs: mkdir -p docs/
docs: run-s docs:*
docs:draw-dependencies-graph: madge . --image docs/madge.svg
pretest: npm-run-all pretest:*
pretest:lint: npm run lint
# Release
release: run-s release:*
type: module