Permalink
Branch: master
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
20 lines (19 sloc) 646 Bytes
// http://eslint.org/docs/rules/
rules:
quotes: ["error", "double"]
comma-dangle: ["error", "always-multiline"]
func-names: ["error", "as-needed"]
space-before-function-paren: "off"
arrow-parens: ["error", "as-needed"]
arrow-body-style: ["warn", "as-needed", {"requireReturnForObjectLiteral": true}]
max-len: ["warn", 150]
generator-star-spacing: "off"
object-curly-spacing: "off"
no-param-reassign: ["error", {"props": false}]
function-paren-newline: "off"
class-methods-use-this: "off"
object-curly-newline: ["error", {"multiline": true}]
env:
es6: true
extends: airbnb-base
// npm install eslint-config-airbnb-base