All Projects → ikatyang → Prettylint

ikatyang / Prettylint

Licence: mit
Run Prettier as a linter

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
eslint-config
🚀 Jetrockets Standarts | ESLint
Stars: ✭ 20 (-39.39%)
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
Iblinter
A linter tool for Interface Builder
Stars: ✭ 915 (+2672.73%)
Mutual labels:  linter
Git Praise
A nicer git blame.
Stars: ✭ 24 (-27.27%)
Mutual labels:  prettier
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
Bpmn Js Bpmnlint
A bpmnlint plug-in for bpmn-js.
Stars: ✭ 26 (-21.21%)
Mutual labels:  linter
Wartremover
Flexible Scala code linting tool
Stars: ✭ 956 (+2796.97%)
Mutual labels:  linter
Prettier Plugin Erb
Prettier ERB plugin
Stars: ✭ 28 (-15.15%)
Mutual labels:  prettier
React Ssr Starter
All have been introduced React environment
Stars: ✭ 20 (-39.39%)
Mutual labels:  prettier
Cuke linter
A linting tool for Cucumber
Stars: ✭ 24 (-27.27%)
Mutual labels:  linter
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

npm build coverage

Run Prettier as a linter

Changelog

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].