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

Commit eff058c

Browse files
zertoshfacebook-github-bot
authored andcommitted
Switch to eslint-plugin-prettier
Summary: `eslint-plugin-prettify` merged into `eslint-plugin-prettier` (prettier/eslint-plugin-prettier#21) Reviewed By: matthewwithanm Differential Revision: D5080518 fbshipit-source-id: 05d568daaa44b189f82ea912b5d1fdedae07f367
1 parent ab0e608 commit eff058c

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

.eslintrc.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -351,8 +351,8 @@ module.exports = {
351351
// prefer-object-spread (https://github.com/bryanrsmith/eslint-plugin-prefer-object-spread)
352352
'prefer-object-spread/prefer-object-spread': 1,
353353

354-
// prettify (https://github.com/zertosh/eslint-plugin-prettify)
355-
'prettify/prettier': [1, 'fb'],
354+
// prettier (https://github.com/prettier/eslint-plugin-prettier)
355+
'prettier/prettier': [1, 'fb', '@format'],
356356

357357
// React (https://github.com/yannickcr/eslint-plugin-react)
358358
'react/display-name': 0,
@@ -420,7 +420,7 @@ module.exports = {
420420
'jasmine',
421421
'nuclide-internal',
422422
'prefer-object-spread',
423-
'prettify',
423+
'prettier',
424424
'react',
425425
],
426426
};

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@
123123
"eslint-plugin-flowtype": "2.30.0",
124124
"eslint-plugin-jasmine": "2.2.0",
125125
"eslint-plugin-prefer-object-spread": "1.1.0",
126-
"eslint-plugin-prettify": "2.0.2",
126+
"eslint-plugin-prettier": "2.1.0",
127127
"eslint-plugin-react": "6.8.0",
128128
"flow-bin": "0.46.0",
129129
"fs-extra": "2.0.0",

0 commit comments

Comments
 (0)