Giter Club home page Giter Club logo

styleguide's Introduction

#logo

Introduction

This repository holds the guidelines we follow to write the front-end code of Magnetis.
The documents present a set of rules to follow in order to make sure we write consistent code.

Quotes

All code in any code-base should look like a single person typed it, no matter how many people contributed.
Rick Waldon

 

Arguments over style are pointless. There should be a style guide, and you should follow it.
Rebecca Murphey

 

It’s harder to read code than to write it.
Joel Spolsky

 

Part of being a good steward to a successful project is realizing that writing code for yourself is a Bad Idea™. If thousands of people are using your code, then write your code for maximum clarity, not your personal preference of how to get clever within the spec.
Idan Gazit

Styleguides

Linters

Under /linters you will see configuration files we use to enforce the rules described on the styleguide via code linters.
ATM we use JSHint for Javascript and SCSS lint for Sass with SCSS syntax.

EditorConfig

Inside Magnetis we have people using Vim, Sublime Text and TextMate. We make use of the awesome project EditorConfig to help us maintain consistent coding styles between these different editors. The rules are specified on .editorconfig file.

Discussion

🌳 This is a living project ☀️ so you don't need to agree with everything presented by the documents. Feel free to open an issue to discuss changes and whatnot.

License

MIT License. Copyright 2014 Magnetis.

You are not granted rights or licenses to the trademarks of the Magnetis, including without limitation the Magnetis logo.


Made with ❤️ at Magnetis

styleguide's People

Contributors

rafaelrinaldi avatar philss avatar bezelga avatar nicolasfrancax avatar

Watchers

Vitor Nogueira 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.