Code Monkey home page Code Monkey logo

prettier-eslint-atom's Introduction

prettier-eslint (for Atom)

Atom package to format your JavaScript using Prettier and ESLint (with eslint --fix)

Build Status Dependencies version downloads MIT License

All Contributors PRs Welcome Donate Code of Conduct Roadmap Examples

Watch on GitHub Star on GitHub Tweet

demo

The problem

I want an easy way to automatically reformat/fix my code when I save the file.

This solution

This uses prettier-eslint to automatically format and fix on save.

Installation

apm install prettier-eslint

Or, Settings → Install → Search for prettier-eslint

Usage

  • You can configure this package in the settings to format on save.
  • The menu: Package → prettier-eslint → Format
  • Keyboard shortcut: ctrl + alt + f

Configure eslint for your project and poof, everything should work.

Please open a pull request or file an issue if it doesn't!

Inspiration

This repository is a copy + modification of prettier-atom

Contributors

Thanks goes to these people (emoji key):


Kent C. Dodds

💻 📖 🚇

Luca Barone


Rob Wise

💻

This project follows the all-contributors specification. Contributions of any kind welcome!

LICENSE

MIT

prettier-eslint-atom's People

Contributors

robwise avatar cloud-walker avatar ndelangen avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.