Skip to content
This repository was archived by the owner on Dec 15, 2022. It is now read-only.

Commit f2080fe

Browse files
committed
package: install prettier and define linting scripts
This'll help to catch any errors in new code and keep their style consistent While we're at it also uninstall unused `coffeelint` and remove files belonging to it
1 parent 36054ba commit f2080fe

File tree

5 files changed

+16
-95
lines changed

5 files changed

+16
-95
lines changed
File renamed without changes.

.prettierrc.json

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
"singleQuote": true
3+
}

coffeelint.json

-37
This file was deleted.

package-lock.json

+7-57
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+6-1
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,11 @@
88
"engines": {
99
"atom": "*"
1010
},
11+
"scripts": {
12+
"lint": "prettier --check .",
13+
"lint:fix": "prettier --write .",
14+
"test": "npm run lint && atom --test spec"
15+
},
1116
"dependencies": {
1217
"async": "~0.2.6",
1318
"atom-select-list": "^0.7.0",
@@ -28,6 +33,6 @@
2833
}
2934
},
3035
"devDependencies": {
31-
"coffeelint": "^1.9.7"
36+
"prettier": "^2.1.2"
3237
}
3338
}

0 commit comments

Comments
 (0)