GithubHelp home page GithubHelp logo

isabella232 / eslint-config-6 Goto Github PK

View Code? Open in Web Editor NEW

This project forked from thoughtbot/eslint-config

0.0 0.0 0.0 6 KB

A sharable ESLint configuration that enforces thoughtbot’s JavaScript guides.

Home Page: https://thoughtbot.com

License: MIT License

JavaScript 100.00%

eslint-config-6's Introduction

thoughtbot ESLint Config

A sharable ESLint configuration that enforces thoughtbot’s JavaScript guides.

Installation

If using npm, run:

npm install @thoughtbot/eslint-config --save-dev

If using Yarn, run:

yarn add @thoughtbot/eslint-config --dev

Usage

Set your ESLint configuration to:

{
  "extends": "@thoughtbot/eslint-config"
}

You can override rules from the shared configuration, by setting your own values within the rules property:

{
  "extends": "@thoughtbot/eslint-config",
  "rules": {
    "quotes": [
      2,
      "double"
    ]
  }
}

You can also turn a rule off, by setting the value of the rule to "off":

{
  "extends": "@thoughtbot/eslint-config",
  "rules": {
    "quotes": "off"
  }
}

Atom integration

ESLint can be integrated into Atom so that you will be alerted of any warnings and errors inline, while you work.

Install the linter and linter-eslint packages using Atom’s package manager or enter this into your terminal:

apm install linter linter-eslint

License

thoughtbot ESLint Config is copyright (c) 2020 thoughtbot, inc. It is free software, and may be redistributed under the terms specified in the LICENSE file.

About

thoughtbot

thoughtbot ESLint Config is maintained and funded by thoughtbot, inc. The names and logos for thoughtbot are trademarks of thoughtbot, inc.

We love open source software! See our other projects or hire us to help build your product.

eslint-config-6's People

Contributors

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