Git Product home page Git Product logo

code-standards-js's Introduction

JavaScript Coding Standards

Installation

npm install --save-dev eslint-config-littlebits

About

littleBits writes a lot of JavaScript. We use ESLint to catch basic errors and enforce a coding style that we think optimizes modernity and clarity.

All projects by littleBits written in JavaScript should use the ESLint configuration found here. Any disagreements should be opened as Github Issues on this repo.

Usage

  1. Have ESLint integrated into your editor of choice.

  2. Do npm install --save-dev eslint-config-littlebits to bring the config into your project.

  3. Do echo 'extends: littlebits' > .eslintrc to apply this config to your project.

Overriding

If your project has special needs you may apply project-specific overrides as documented here.

Versioning Policy

  • If new rules are added then release is considered breaking.

    • Unless the rule can be automatically fixed in which case the change should be considered non-breaking.

  • If new rules are removed then release is considered non-breaking.

code-standards-js's People

Contributors

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