Skip to content

Commit b1ed206

Browse files
committed
Adds prettier via eslint
1 parent 8088dbe commit b1ed206

12 files changed

+229
-4
lines changed

.eslintrc.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,13 +8,13 @@
88
}
99
},
1010
"plugins": [
11-
"arca"
11+
"arca",
12+
"prettier"
1213
],
1314
"rules": {
14-
"arca/curly": 2,
15-
"arca/import-align": 2,
1615
"arca/import-ordering": 2,
1716
"arca/newline-after-import-section": 2,
18-
"arca/no-default-export": 2
17+
"arca/no-default-export": 2,
18+
"prettier/prettier": "error"
1919
}
2020
}

.pnp.js

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

.prettierrc

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"singleQuote": true,
3+
"trailingComma": "all",
4+
"bracketSpacing": false,
5+
"printWidth": 120
6+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
../cache/eslint-plugin-prettier-npm-3.0.1-0c4ecb0e4e0c7160552cd87393252a2a2e58acd0a376a700f9e4080cf32cd320.zip

package.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
"@types/dateformat": "^1.0.1",
1616
"@types/emscripten": "^0.0.31",
1717
"@types/eslint": "4.16.6",
18+
"@types/eslint-plugin-prettier": "2.2.0",
1819
"@types/eventemitter3": "^2.0.2",
1920
"@types/execa": "^0.9.0",
2021
"@types/faker": "^4.1.4",
@@ -29,6 +30,7 @@
2930
"@types/node": "^10.12.0",
3031
"@types/node-emoji": "^1.8.0",
3132
"@types/node-fetch": "^2.1.2",
33+
"@types/prettier": "1.16.3",
3234
"@types/react": "^16.4.14",
3335
"@types/react-redux": "^6.0.9",
3436
"@types/redux-saga": "^0.10.5",
@@ -45,9 +47,11 @@
4547
"babel-jest": "^24.5.0",
4648
"eslint": "^5.16.0",
4749
"eslint-plugin-arca": "^0.8.1",
50+
"eslint-plugin-prettier": "^3.0.1",
4851
"jest": "^24.5.0",
4952
"jest-environment-node": "^24.5.0",
5053
"jest-junit": "^5.2.0",
54+
"prettier": "^1.17.0",
5155
"ts-node": "^7.0.1",
5256
"typescript": "^3.3.3333"
5357
},

0 commit comments

Comments
 (0)