prettier/tests_integration
Ika 4ff0f26d3e
refactor: move cli leven suggestion to options-normalizer (#5057)
Option-related processing should be done in `options-normalizer`.

- unknown flag suggestions are colored
  ![image](https://user-images.githubusercontent.com/8341033/45103027-866c7900-b161-11e8-8ee3-6467a9ca0090.png)
- unknown flags with no suggestion are now errors:
  ```
  $ bin/prettier.js --help noseminosemi
  [error] Invalid `--help` value. Expected `a flag`, but received `"noseminosemi"`.
  ```
2018-09-08 07:40:09 +08:00
..
__tests__ refactor: move cli leven suggestion to options-normalizer (#5057) 2018-09-08 07:40:09 +08:00
cli fix(config): better error message for unsupported extension (#4969) 2018-08-11 16:35:18 +08:00
custom-parsers Implement custom parser API (#1783) 2017-06-12 16:51:12 +10:00
plugins Use destructuring for imports (#4554) 2018-05-27 21:36:12 +10:00
.eslintrc.yml Convert eslint config and users/languages/editors files to YAML (#3516) 2017-12-18 21:55:10 +11:00
path-serializer.js Fix unit tests on Windows (#2922) 2017-09-28 19:30:51 +10:00
runPrettier.js Fix plugin API in globally installed Prettier and introduce optional --plugin-search-dir (#4192) 2018-05-09 19:17:12 +08:00