tslint-plugin-prettier
Runs Prettier as a TSLint rule and reports differences as individual TSLint issues
File Explorer
Download Latest Version (.zip)- .prettierrc
- index.ts
- prettierRule.ts
- test.ts.lint
- tslint.json
- .prettierrc
- doubleQuote.ts.lint
- singleQuote.ts.lint
- tslint.json
- .prettierrc
- test.ts.lint
- tslint.json
- 01.ts.fix
- 01.ts.lint
- 02.ts.fix
- 02.ts.lint
- 03.ts.fix
- 03.ts.lint
- 04.ts.fix
- 04.ts.lint
- 05.ts.fix
- 05.ts.lint
- 06.ts.fix
- 06.ts.lint
- 07.ts.fix
- 07.ts.lint
- 08.ts.fix
- 08.ts.lint
- 11.ts.fix
- 11.ts.lint
- 13.ts.fix
- 13.ts.lint
- 14.ts.fix
- 14.ts.lint
- 15.ts.fix
- 15.ts.lint
- 16.ts.fix
- 16.ts.lint
- 17.ts.fix
- 17.ts.lint
- 18.ts.fix
- 18.ts.lint
- syntax-error.ts.lint
- tslint.json
- valid.ts.lint
- .editorconfig
- test.ts.lint
- tslint.json
- .editorconfig
- test.ts.lint
- tslint.json
- .prettierignore
- prettierIgnoredSyntaxError.ts.lint
- tslint.json
- 09.ts.fix
- 09.ts.lint
- 09.txt
- tslint.json
- no-semi.ts.fix
- no-semi.ts.lint
- tslint.json
- 10.ts.fix
- 10.ts.lint
- tslint.json
- .codecov.yml
- .editorconfig
- .gitattributes
- .gitignore
- .npmignore
- .nycrc.json
- .travis.yml
- CHANGELOG.md
- LICENSE
- package.json
- README.md
- renovate.json
- tsconfig.build.json
- tsconfig.json
- tslint.json
- yarn.lock
# Installation Guide
1. Get the code
git clone https://github.com/prettier/tslint-plugin-prettier
Downloads the entire project code from GitHub to your computer.
cd tslint-plugin-prettier
Moves into the project folder you just downloaded.
2. Node.js
Easy RecommendedPrerequisites
npm install --save-dev tslint-plugin-prettier prettier
Downloads and installs the libraries listed in package.json.
yarn add --dev tslint-plugin-prettier prettier
Type this command into your terminal and run it.
yarn run lint
Type this command into your terminal and run it.
yarn run build
Type this command into your terminal and run it.
yarn run test
Type this command into your terminal and run it.
After running the command, open the address shown in the terminal (usually something like http://localhost:3000) in your browser.
Pulled directly from this repo's README.
// repository documentation
Was this content helpful?
(0 ratings)
