fix: delete tslint from docs (#12538)

This commit is contained in:
a-kawasumi authored and GitHub committed 2022-03-27 00:58:49 +09:00
1 parent f7f13dcf82
commit 63f1ee2c17
2 files changed
-9

No files matched your search

-3
View File
@@ -8,7 +8,6 @@ Linters usually contain not only code quality rules, but also stylistic rules. M
Luckily it’s easy to turn off rules that conflict or are unnecessary with Prettier, by using these pre-made configs:
- [eslint-config-prettier](https://github.com/prettier/eslint-config-prettier)
- [tslint-config-prettier](https://github.com/alexjoverm/tslint-config-prettier)
- [stylelint-config-prettier](https://github.com/prettier/stylelint-config-prettier)
Check out the above links for instructions on how to install and set things up.
@@ -20,7 +19,6 @@ When searching for both Prettier and your linter on the Internet you’ll probab
First, we have plugins that let you run Prettier as if it was a linter rule:
- [eslint-plugin-prettier](https://github.com/prettier/eslint-plugin-prettier)
- [tslint-plugin-prettier](https://github.com/ikatyang/tslint-plugin-prettier)
- [stylelint-prettier](https://github.com/prettier/stylelint-prettier)
These plugins were especially useful when Prettier was new. By running Prettier inside your linters, you didn’t have to set up any new infrastructure and you could re-use your editor integrations for the linters. But these days you can run `prettier --check .` and most editors have Prettier support.
@@ -34,7 +32,6 @@ The downsides of those plugins are:
Finally, we have tools that run `prettier` and then immediately for example `eslint --fix` on files.
- [prettier-eslint](https://github.com/prettier/prettier-eslint)
- [prettier-tslint](https://github.com/azz/prettier-tslint)
- [prettier-stylelint](https://github.com/hugomrdias/prettier-stylelint)
Those are useful if some aspect of Prettier’s output makes Prettier completely unusable to you. Then you can have for example `eslint --fix` fix that up for you. The downside is that these tools are much slower than just running Prettier.
-6
View File
@@ -16,12 +16,6 @@ title: Related Projects
- [stylelint-prettier](https://github.com/prettier/stylelint-prettier) runs Prettier as a stylelint rule and reports differences as individual stylelint issues
- [prettier-stylelint](https://github.com/hugomrdias/prettier-stylelint) passes `prettier` output to `stylelint --fix`
## TSLint Integrations
- [tslint-config-prettier](https://github.com/alexjoverm/tslint-config-prettier) use TSLint with Prettier without any conflict
- [tslint-plugin-prettier](https://github.com/ikatyang/tslint-plugin-prettier) runs Prettier as a TSLint rule and reports differences as individual TSLint issues
- [prettier-tslint](https://github.com/azz/prettier-tslint) passes `prettier` output to `tslint --fix`
## Forks
- [prettierx](https://github.com/brodybits/prettierx) less opinionated fork of Prettier