Unify ESLint and Prettier across xplat/yoga
(#1335)
Summary: Pull Request resolved: https://github.com/facebook/yoga/pull/1335 Reviewed By: christophpurrer Differential Revision: D47459866 fbshipit-source-id: fd6b4e4e2518d91968ac7180b32129b3f70edf88
This commit is contained in:
committed by
Facebook GitHub Bot
parent
05b2edfb85
commit
44507ec62e
@@ -10,7 +10,6 @@
|
||||
import {
|
||||
argv,
|
||||
cleanTask,
|
||||
eslintTask,
|
||||
logger,
|
||||
jestTask,
|
||||
option,
|
||||
@@ -76,13 +75,7 @@ task(
|
||||
),
|
||||
);
|
||||
|
||||
task(
|
||||
'lint',
|
||||
parallel(
|
||||
tscTask({noEmit: true}),
|
||||
series(eslintTask({fix: argv().fix}), clangFormatTask({fix: argv().fix})),
|
||||
),
|
||||
);
|
||||
task('clang-format', clangFormatTask({fix: argv().fix}));
|
||||
|
||||
task('prepack-package-json', async () => {
|
||||
const packageJsonPath = path.join(__dirname, 'package.json');
|
||||
|
Reference in New Issue
Block a user