GithubHelp home page GithubHelp logo

filipdanic / codestyles Goto Github PK

View Code? Open in Web Editor NEW

This project forked from spfr/codestyles

0.0 2.0 0.0 8 KB

CodeStyles for various IDEs used in SPFR

License: Creative Commons Zero v1.0 Universal

Shell 100.00%

codestyles's Introduction

CodeStyles

CodeStyles for various IDEs used in SPFR

IntelliJ

Go into "idea" folder and run ./install.sh and follow on screen instructions.

Or if you want to import it in a less fun way, open Idea Preferences, go to Code Styles and import.

Sublime and VSCode

The relevant guides are located within those subfolders.

JavaScript and Prettier

When working on JavaScript projects, we will typically have prettier setup in a pre-commit hook.

Prettier is an opinionated code formatter. By far the biggest reason for adopting prettier is to stop all the ongoing debates over styles. It’s low overhead and you might not even notice it is there. If a project uses prettier, then just write your code without wasting your brains “cycles” on worrying about formatting. Prettier will format all changed files once you check-in your code to git.

Important notes to remember:

  1. Prettier is a code formatter, but it does not replace a linter or internal coding conventions.
  2. If you’re switching to a project that doesn’t use prettier, it is easy to forget that you no longer have this awesome tool at your disposal. :)

codestyles's People

Contributors

filipdanic avatar zilet avatar

Watchers

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