Skip to content
This repository was archived by the owner on Sep 12, 2019. It is now read-only.

Commit 86a8a91

Browse files
committed
Copy prettier settings from netlify-cli
1 parent bf402c6 commit 86a8a91

File tree

4 files changed

+67
-6
lines changed

4 files changed

+67
-6
lines changed

.eslintrc

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
11
{
2-
"extends": "oclif"
2+
"extends": ["oclif", "plugin:prettier/recommended"],
3+
"rules": {
4+
"prettier/prettier": "error"
5+
}
36
}

.prettierrc.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{
2+
"semi": false,
3+
"singleQuote": true,
4+
"printWidth": 120
5+
}

package-lock.json

Lines changed: 54 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,12 @@
2424
"chai": "^4",
2525
"eslint": "^5.5",
2626
"eslint-config-oclif": "^3.1",
27+
"eslint-config-prettier": "^4.1.0",
28+
"eslint-plugin-prettier": "^3.0.1",
2729
"globby": "^8",
2830
"mocha": "^5",
29-
"nyc": "^13"
31+
"nyc": "^13",
32+
"prettier": "^1.16.4"
3033
},
3134
"engines": {
3235
"node": ">=8.0.0"

0 commit comments

Comments
 (0)