-
Notifications
You must be signed in to change notification settings - Fork 2
/
package.json
118 lines (118 loc) · 3.51 KB
/
package.json
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
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
{
"name": "taiga-linters",
"version": "0.235.3",
"private": true,
"license": "Apache-2.0",
"workspaces": [
"projects/*"
],
"scripts": {
"stylelint": "stylelint '**/*.{less,css}' --allow-empty-input --config package.json",
"prettier": "prettier !package-lock.json . --ignore-path .gitignore",
"cspell": "cspell --relative --dot --gitignore .",
"lint": "eslint . --config package.json",
"after:bump": "npx nx build syncer && node projects/syncer/bin/src/index.js",
"release": "npx nx run-many --target publish --all"
},
"commitlint": {
"extends": [
"@taiga-ui/commitlint-config"
]
},
"lint-staged": {
"*.less": [
"stylelint --fix"
],
"*.{js,ts,html,svg,yml,md,less,json}": [
"prettier --write",
"eslint --fix",
"cspell"
]
},
"prettier": "@taiga-ui/prettier-config",
"eslintConfig": {
"extends": [
"plugin:@taiga-ui/experience/all",
"plugin:@taiga-ui/experience/taiga-naming"
],
"overrides": [
{
"files": [
"./projects/**/*.js"
],
"extends": [
"plugin:perfectionist/recommended-natural-legacy"
],
"rules": {
"perfectionist/sort-objects": [
"error",
{
"type": "natural",
"order": "asc",
"partitionByComment": true,
"groups": [
"$schema",
"id",
"env",
"files",
"parser",
"plugins",
"extends",
"unknown",
"rules",
"overrides"
],
"customGroups": {
"$schema": "$schema",
"id": "id",
"env": "env",
"files": "files",
"parser": "parser",
"plugins": "plugins",
"extends": "extends",
"rules": "rules",
"overrides": "overrides"
}
}
]
}
}
]
},
"stylelint": {
"extends": [
"@taiga-ui/stylelint-config"
],
"ignoreFiles": [
"**/demo/**",
"**/dist/**",
"**/coverage/**",
"**/node_modules/**"
]
},
"devDependencies": {
"@nx/workspace": "20.2.2",
"lint-staged": "15.2.11",
"nx": "20.2.2",
"typescript": "5.6.3"
},
"cspell": {
"import": [
"@taiga-ui/cspell-config/cspell.config.js"
],
"files": [
"*/*.*"
]
},
"syncer": {
"includePaths": [
"./projects",
"./package-lock.json"
],
"matchPackageNames": [
"@taiga-ui/*",
"taiga-linters"
],
"ignorePackageNames": []
}
}