-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathpackage.json
44 lines (44 loc) · 1.12 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
{
"private": true,
"devDependencies": {
"@wordpress/eslint-plugin": "^15.1.0",
"@wordpress/stylelint-config": "^21.24.0",
"eslint": "^8.49.0",
"prettier": "^2.8.8",
"stylelint": "^14.16.1"
},
"scripts": {
"cs": "npm run csCSS && npm run csJS",
"csCSS": "npx stylelint css/style.css",
"csJS": "npx eslint js/functions.js",
"csfix": "npm run csfixCSS && npm run csfixJS",
"csfixCSS": "npx stylelint css/style.css --fix",
"csfixJS": "npx eslint js/functions.js --fix"
},
"eslintConfig": {
"extends": "plugin:@wordpress/eslint-plugin/recommended",
"rules": {
"no-nested-ternary": "off",
"no-unused-vars": [
"error",
{
"varsIgnorePattern": "eefstatify(TableToCsv|ColumnChart|LineChart|SelectDateRange|DateRangeChange)"
}
]
},
"env": {
"browser": true,
"jquery": true
},
"globals": {
"Chartist": "readonly",
"eefStatifyTranslations": "readonly"
}
},
"stylelint": {
"extends": "@wordpress/stylelint-config",
"rules": {
"font-weight-notation": "named-where-possible"
}
}
}