Skip to content

Instantly share code, notes, and snippets.

@rlemon
Created August 28, 2018 14:31

Revisions

  1. rlemon created this gist Aug 28, 2018.
    44 changes: 44 additions & 0 deletions .eslintrc
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,44 @@
    {

    "env": {
    "browser": true,
    "es6": true,
    "node": true
    },

    "extends": "airbnb",

    "rules": {
    "array-bracket-spacing": ["error", "always"],
    "arrow-parens": ["error", "as-needed"],
    "comma-dangle": 0,
    "consistent-return": 0,
    "curly": ["error","all"],
    "indent": [2, "tab"],
    "keyword-spacing": ["error", {
    "after": true,
    "overrides": {
    "if": {
    "after": false
    },
    "for": {
    "after": false
    },
    "while": {
    "after": false
    }
    }
    }],
    "no-bitwise": 0,
    "no-tabs": 0,
    "no-console": 0,
    "no-restricted-syntax": 0,
    "no-param-reassign": ["error", {
    "props": false
    }],
    "no-multiple-empty-lines": ["error", {
    "max": 1
    }],
    "space-in-parens": ["error","always"]
    }
    }