Created
September 29, 2015 19:11
-
-
Save justinph/a1e84e9ba7159ea42c8d to your computer and use it in GitHub Desktop.
Updated eslint config to work with 1.0+, deals with `space-after-function-name` depreciation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"env": { | |
"browser": true, | |
"amd": true | |
}, | |
"globals": { | |
"magnum": true, | |
"define": true, | |
"require": true, | |
"Modernizr": true, | |
"Hammer": true, | |
"NYTADX": true | |
}, | |
"rules": { | |
"block-scoped-var": 1, | |
"brace-style": [1, "1tbs", { "allowSingleLine": true }], | |
"no-cond-assign": [1, "always"], | |
"no-console": 1, | |
"no-new": 0, | |
"no-else-return": 1, | |
"no-void": 1, | |
"quotes": [1, "single"], | |
"radix": 1, | |
"space-after-keywords": [1, "always"], | |
"vars-on-top": 2, | |
"wrap-iife": [1, "inside"], | |
"space-before-function-paren" : [2, "always"], | |
"semi": [2, "always"] | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment