ikatyang / Prettylint
Licence: mit
Run Prettier as a linter
Stars: ✭ 33
Programming Languages
typescript
32286 projects
Projects that are alternatives of or similar to Prettylint
Poetic
Automatically install and maintain ESLint, Prettier, EditorConfig and Airbnb rules for JavaScript, TypeScript and React.
Stars: ✭ 165 (+400%)
Mutual labels: linter, prettier
Aurora
📦 A set of configs and rules for Typescript projects.
Stars: ✭ 30 (-9.09%)
Mutual labels: linter, prettier
Zoe
🌀 Zero-config ESLint toolchain with sensible defaults.
Stars: ✭ 113 (+242.42%)
Mutual labels: linter, prettier
spec
🐣 easy to use eslint/stylelint/tslint/prettier/...
Stars: ✭ 60 (+81.82%)
Mutual labels: linter, prettier
healthier
🧘♀️ Healthier is an opinionated style agnostic code linter – a friendly companion to Prettier
Stars: ✭ 78 (+136.36%)
Mutual labels: linter, prettier
eaf-linter
🤪 A linter, prettier, and test suite that does everything as-simple-as-possible.
Stars: ✭ 17 (-48.48%)
Mutual labels: linter, prettier
Sublimelinter Eslint
This linter plugin for SublimeLinter provides an interface to ESLint
Stars: ✭ 839 (+2442.42%)
Mutual labels: linter
Dll
Go linter for finding defer statements inside for loops
Stars: ✭ 23 (-30.3%)
Mutual labels: linter
Yarn Package Boilerplate
An Yarn package with babel, jest, flow, prettier and more
Stars: ✭ 10 (-69.7%)
Mutual labels: prettier
That React App You Want
That react app you always wanted: [email protected], [email protected], postCSS, purifycss, dll's and code splitting examples, bregh. Highly opinionated but you better like it.
Stars: ✭ 27 (-18.18%)
Mutual labels: prettier
React Ssr Starter
All have been introduced React environment
Stars: ✭ 20 (-39.39%)
Mutual labels: prettier
Pyupgrade
A tool (and pre-commit hook) to automatically upgrade syntax for newer versions of the language.
Stars: ✭ 883 (+2575.76%)
Mutual labels: linter
Rubocop Packaging
A RuboCop extension focused on enforcing upstream best practices and coding conventions.
Stars: ✭ 29 (-12.12%)
Mutual labels: linter
prettylint
Run Prettier as a linter
Sample
$ prettylint "**/*.ts"
src/diagnose.ts:14:13
⚠ 14:13 Delete · prettier/prettier
⚠ 15:14 Insert · prettier/prettier
⚠ 47:34 Replace "" with '' prettier/prettier
3 warnings
Install
# using npm
npm install --save-dev prettylint prettier
# using yarn
yarn add --dev prettylint prettier
Usage
Usage
$ prettylint <glob> ...
Options
--no-config Do not load config file.
--config <path> Specify the config file. (require [email protected]+)
--fix Fix linting errors.
--format <path> Specify the module to format output.
Defaults to "eslint-formatter-pretty".
--ignore-path <path> Specify the .ignore file.
Defaults to ".prettierignore".
--silent Do not print message.
-h, --help Show help.
-v, --version Show version.
Examples
$ prettylint "src/**/*.{js,ts}"
$ prettylint "src/**/*.{js,ts}" --fix
$ prettylint "src/**/*.{js,ts}" --ignore-path .gitignore
Development
# lint
yarn run lint
# build
yarn run build
# test
yarn run test
License
MIT © Ika
Note that the project description data, including the texts, logos, images, and/or trademarks,
for each open source project belongs to its rightful owner.
If you wish to add or remove any projects, please contact us at [email protected].