JSPM

  • Created
  • Published
  • Downloads 88914
  • Score
    100M100P100Q158410F
  • License MIT

an eslint config made with love

Package Exports

  • eslint-config-love

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (eslint-config-love) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

https://github.com/DaBultz/eslint-config-love/issues/2

eslint-config-love

Table of Content

About

eslint config made with love with:

  • Tabs
  • Indent on 2
  • Semicolons
  • No Vars
  • ES6
  • Checks for Valid JSDoc

How to setup

Project Setup

install the require dependencies, you can do that by running the following command:

npm install eslint eslint-config-love --save-dev

then create a .eslintrc file in your root folder and add the following to it:

{
  "extends": "love"
}

Editor Setup

Atom

  1. Install Linter, linter-ui-default and linter-eslint, you can do that by running the following command apm install linter linter-ui-default linter-eslint

Rules

See RULES.md

FAQ

I disagree with a rule

If you disagree with a rule, you can modify the .eslintrc to override anyrules provided in this config, lets say you want to use spaces instead of tabs, you can simply add the following rule to .eslintrc

"rules": {
  "indent": ["error", "2"]
}

So your .eslintrc file looks like this now:

{
  "extends": "love",
  "rules": {
    "indent": ["error", "2"]
  }
}

How can I contribute?

Everyone is welcome to contribute to the project, make editor plugins and so on.

Noteworthy Projects:

  • NONE ATM... :(