forked from uPortal-Project/uPortal
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
65 lines (65 loc) · 1.72 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
{
"name": "uportal",
"private": true,
"devDependencies": {
"eslint": "^5.13.0",
"eslint-config-google": "^0.12.0",
"prettier-eslint-cli": "^4.7.1",
"prettier-stylelint": "^0.4.2",
"remark-cli": "^6.0.1",
"remark-preset-lint-consistent": "^2.0.1",
"remark-preset-lint-recommended": "^3.0.1",
"remark-validate-links": "^8.0.0",
"stylelint": "^9.10.1",
"stylelint-config-standard": "^18.2.0"
},
"scripts": {
"lint-js": "eslint . --ignore-path .gitignore --ignore-pattern *.min.js",
"lint-less": "stylelint --syntax less **/*.less !**/bootstrap/**/*.less",
"lint-md": "remark -f *.md docs/**",
"format-js": "prettier-eslint --write \"uPortal-webapp/src/**/*.js\"",
"format-less": "prettier-stylelint --write \"uPortal-webapp/src/**/*.{css,less}\""
},
"eslintConfig": {
"extends": "google",
"rules": {
"indent": [
"error",
4
],
"max-len": [
"warn",
{
"code": 80,
"tabWidth": 4,
"ignoreUrls": true,
"ignoreComments": true,
"ignoreStrings": true
}
],
"new-cap": "warn",
"arrow-parens": "off",
"constructor-super": "off",
"generator-star-spacing": "off",
"no-new-symbol": "off",
"no-this-before-super": "off",
"no-invalid-this": "off",
"no-var": "off",
"prefer-rest-params": "off",
"prefer-spread": "off",
"valid-jsdoc": "warn",
"rest-spread-spacing": "off",
"yield-star-spacing": "off"
}
},
"remarkConfig": {
"plugins": [
"preset-lint-recommended",
"preset-lint-consistent"
]
},
"stylelint": {
"extends": "stylelint-config-standard"
},
"prettier": {}
}