Left: | ||
Right: |
LEFT | RIGHT |
---|---|
1 { | 1 { |
2 "name": "adblockplusui", | 2 "name": "adblockplusui", |
3 "version": "0.0.0", | 3 "private": true, |
Thomas Greiner
2018/01/23 19:22:36
Technically, we haven't decided on how we want to
a.giammarchi
2018/01/24 10:52:37
makes sense
| |
4 "description": "AsBlock Plus UI", | 4 "description": "Adblock Plus UI", |
Thomas Greiner
2018/01/23 19:22:35
Typo: Replace "AsBlock Plus UI" with "Adblock Plus
a.giammarchi
2018/01/24 10:52:37
AsBlock ... gosh, 1 word, 2 errors ... coffee here
| |
5 "scripts": { | 5 "scripts": { |
6 "lint": "npm run lint:css && npm run lint:js", | 6 "lint": "npm run lint:js", |
7 "lint:css": "stylelint ./skin", | |
Thomas Greiner
2018/01/23 19:22:35
Detail: You're specifying "*.js" for JavaScript li
a.giammarchi
2018/01/24 10:52:37
skin has no subfolders while eslint was going thro
Thomas Greiner
2018/01/24 11:56:33
The latter sounds most consistent in that case (i.
| |
8 "lint:js": "eslint ./*.js ./lib/*.js ./ext/*.js", | 7 "lint:js": "eslint ./*.js ./lib/*.js ./ext/*.js", |
9 "prepare": "python2 ensure_dependencies.py", | 8 "prepare": "python2 ensure_dependencies.py", |
10 "start": "http-server $1" | 9 "start": "http-server" |
11 }, | 10 }, |
12 "devDependencies": { | 11 "devDependencies": { |
13 "eslint": "^4.16.0", | 12 "eslint": "^4.16.0", |
14 "eslint-config-eyeo": "^2.0.0", | 13 "eslint-config-eyeo": "^2.0.0", |
15 "eslint-config-medikoo-es5": "^1.4.7", | 14 "http-server": "^0.11.1" |
16 "eslint-config-standard": "^11.0.0-beta.0", | |
17 "eslint-plugin-import": "^2.8.0", | |
18 "eslint-plugin-node": "^5.2.1", | |
19 "eslint-plugin-promise": "^3.6.0", | |
20 "eslint-plugin-standard": "^3.0.1", | |
Thomas Greiner
2018/01/23 19:22:35
I get that we need both "eslint" and "eslint-confi
a.giammarchi
2018/01/24 10:52:36
Good point.
I've tried `eslint` as command and it
Thomas Greiner
2018/01/24 11:56:33
Thanks, I appreciate that. In case the issue still
| |
21 "http-server": "^0.11.1", | |
Thomas Greiner
2018/01/23 19:22:36
Since we're no longer using test_server.py, we sho
a.giammarchi
2018/01/24 10:52:37
differently from git, when you commit the lovely m
Thomas Greiner
2018/01/24 11:56:33
It's a bit more explicit in that regard, that's tr
| |
22 "stylelint": "^8.4.0", | |
23 "stylelint-config-eyeo": "*", | |
24 "stylelint-config-recommended": "^2.0.1" | |
Thomas Greiner
2018/01/24 15:40:35
Since you were able to remove "eslint-config-stand
| |
25 } | 15 } |
26 } | 16 } |
LEFT | RIGHT |