prettier-atom - An atom package for the prettier formatter.

  •        64

Atom package to format your JavaScript, Typescript, CSS, Sass, and JSON using Prettier. Optionally integrates with ESLint, EditorConfig, and stylelint. Or go to Settings → Install and search for prettier-atom.


atom-linter : ^10.0.0
atom-package-deps : ^4.6.2
atom-text-buffer-point : ^1.0.0
atom-text-buffer-range : ^1.0.0
babel-runtime : ^6.26.0
editorconfig : ^0.15.0
editorconfig-to-prettier : ^0.0.6
global-modules : ^1.0.0
ignore : ^3.3.8
lodash : ^4.17.10
loophole : ^1.1.0
prettier : 1.13.4
prettier-eslint : ^8.8.1
prettier-stylelint : ^0.4.2
read-pkg-up : ^3.0.0
yarn-global-modules : ^1.0.1



Related Projects

atom-beautify - :lipstick: Universal beautification package for Atom editor (:warning: Currently migrating to https://github

  •    CoffeeScript

Atom-Beautify respects the core.telemetryConsent configuration option from Atom editor. If you do not wish to have usage data sent to Google Analytics then please set core.telemetryConsent to no or undecided option before using Atom-Beautify. See Anonymous Analytics section of docs for details. Thank you. Atom-Beautify is going to be completely rewritten with Unibeautify at its core! See unibeautify branch for work in progress and Issue #1174.

eslint-plugin-prettier - ESLint plugin for prettier formatting

  •    Javascript

Runs Prettier as an ESLint rule and reports differences as individual ESLint issues. ./node_modules/.bin/eslint --format codeframe pkg/commons-atom/ActiveEditorRegistry.js (code from nuclide).

prettier-eslint-cli - CLI for prettier-eslint

  •    Javascript

You have a bunch of files that you want to format using prettier-eslint. But prettier-eslint can only operate on strings. This is a CLI that allows you to use prettier-eslint on one or multiple files. prettier-eslint-cli forwards on the filePath and other relevant options to prettier-eslint which identifies the applicable ESLint config for each file and uses that to determine the options for prettier and eslint --fix.

prettier-eslint - Code :arrow_right: prettier :arrow_right: eslint --fix :arrow_right: Formatted Code :sparkles:

  •    Javascript

The fix feature of eslint is pretty great and can auto-format/fix much of your code according to your ESLint config. prettier is a more powerful automatic formatter. One of the nice things about prettier is how opinionated it is. Unfortunately it's not opinionated enough and/or some opinions differ from my own. So after prettier formats the code, I start getting linting errors. This formats your code via prettier, and then passes the result of that to eslint --fix. This way you can get the benefits of prettier's superior formatting capabilities, but also benefit from the configuration capabilities of eslint.

eslint-config-prettier - Turns off all rules that are unnecessary or might conflict with Prettier.

  •    Javascript

Turns off all rules that are unnecessary or might conflict with Prettier. This lets you use you favorite shareable config without letting its stylistic choices get in the way when using Prettier.

prettier-standard - (✿◠‿◠) Prettier and standard brought together!

  •    Javascript

If you're using the npm: npm install --save-dev prettier-standard. It's possible to use 'prettier-standard' with Sublime Text 3.

plugin-ruby - Prettier Ruby Plugin

  •    Javascript

@prettier/plugin-ruby is a prettier plugin for the Ruby programming language (versions 2.5 and above). prettier is an opinionated code formatter that supports multiple languages and integrates with most editors. The idea is to eliminate discussions of style in code review and allow developers to get back to thinking about code design instead. To run prettier with the Ruby plugin, you're going to need ruby (version 2.5 or newer) and node (version 8.3 or newer). If you're integrating with a project that is not already using prettier, you should use the ruby gem. Otherwise you can use the npm package directly.

serverless-babel-starter - 🗄🙅‍♀️ Serverless with all the fixings: Webpack, Babel, Jest, ESLint, and Prettier

  •    Javascript

Postlight's Modern Serverless Starter Kit adds a light layer on top of the Serverless framework, giving you the latest in modern JavaScript (ES6 via Webpack + Babel, testing with Jest, linting with ESLint, and formatting with Prettier), the ease and power of Serverless, and a few handy helpers (like functions for handling warm functions and response helpers). Once installed, you can create and deploy functions with the latest ES6 features in minutes, with linting and formatting baked in.

Prettier - An opinionated code formatter.

  •    Javascript

Prettier is an opinionated code formatter. It enforces a consistent style by parsing your code and re-printing it with its own rules that take the maximum line length into account, wrapping code when necessary. Prettier can be run in your editor on-save, in a pre-commit hook, or in CI environments to ensure your codebase has a consistent style without devs ever having to post a nit-picky comment on a code review ever again!

vim-prettier - A Vim plugin for Prettier

  •    Vim

A vim plugin wrapper for prettier, pre-configured with custom default prettier settings. Note: We are currently working towards a major release on branch release/1.x, while under development bugfixes will be applied to master branch and then ported back to release/1.x branch.

tslint-config-prettier - Use tslint with prettier without any conflict

  •    TypeScript

Do you want to use TSLint and Prettier without conflicts? tslint-config-prettier disables all conflicting rules that may cause such problems. Prettier takes care of the formatting whereas tslint takes care of all the other things. Check how it works in this tutorial.

prettier-vscode - Visual Studio Code extension for Prettier

  •    TypeScript

VS Code package to format your JavaScript / TypeScript / CSS using Prettier. ⚠ A word of warning-if you have any other code formatting extensions installed such as for example hugely popular HookyQR.beautify or taichi.react-beautify they might take precedence and format your code instead of Prettier leading to unexpected results.

plugin-php - Prettier PHP Plugin

  •    Javascript

Please note that this plugin is currently in alpha stage and still under active development. We encourage everyone to try it and give feedback, but we don't recommend it for production use yet. Prettier is an opinionated code formatter. It enforces a consistent style by parsing your code and re-printing it with its own rules that take the maximum line length into account, wrapping code when necessary.

plugin-python - Prettier Python Plugin

  •    Javascript

Please note that this plugin is under active development, and might not be ready to run on production code yet. If you're interested in contributing to the development of Prettier for Python, you can follow the CONTRIBUTING guide from Prettier, as it all applies to this repository too.

linter-eslint - ESLint plugin for Atom Linter

  •    Javascript

This linter plugin for Linter provides an interface to eslint. It will be used with files that have the "JavaScript" syntax. linter-eslint will look for a version of eslint local to your project and use it if it's available. If none is found it will fall back to the version it ships with.

rufo - The Ruby Formatter - created by @asterite

  •    Ruby

Rufo is as an opinionated ruby formatter, intended to be used via the command line as a text-editor plugin, to autoformat files on save or on demand. Unlike the best known Ruby formatter RuboCop, Rufo offers little in the way of configuration. Like other language formatters such as gofmt, prettier, and autopep8, we strive to find a "one true format" for Ruby code, and make sure your code adheres to it, with zero config where possible.

PHP-Error - Better error reporting for PHP, and prettier too!

  •    PHP

Better error reporting for PHP, and prettier too!

prettyping - `prettyping` is a wrapper around the standard `ping` tool, making the output prettier, more colorful, more compact, and easier to read

  •    Shell

prettyping is a wrapper around the standard ping tool with the objective of making the output prettier, more colorful, more compact, and easier to read. prettyping runs the standard ping in the background and parses its output, showing the ping responses in a graphical way at the terminal (by using colors and Unicode characters).

lint-staged - 🚫💩 — Run linters on git staged files

  •    Javascript

Linting makes more sense when running before committing your code. By doing that you can ensure no errors are going into repository and enforce code style. But running a lint process on a whole project is slow and linting results can be irrelevant. Ultimately you only want to lint files that will be committed. This project contains a script that will run arbitrary npm and shell tasks with a list of staged files as an argument, filtered by a specified glob pattern.