Ignore node_modules when running prettier from CLI (#1683)

* Ignore node_modules by default

* Add integration test suite for --with-node-modules CLI arg

* Refactor tests to snapshots

* Disable eslint for purposely faulty files

* Fix node 4

* Fix prettier

* Gitignore only top-level node_modules
This commit is contained in:
Michał Pierzchała authored and Christopher Chedeau committed 2017-05-23 14:19:04 -07:00
1 parent cf716e5538
commit 7a0df958dc
11 files changed
+164 -5

No files matched your search

+2
View File
@@ -0,0 +1,2 @@
/* eslint-disable */
'use strict';
@@ -0,0 +1,2 @@
/* eslint-disable */
'use strict';
@@ -0,0 +1,2 @@
/* eslint-disable */
'use strict';