Skip to content

Instantly share code, notes, and snippets.

@notakaos
Created March 26, 2016 06:10
Show Gist options
  • Save notakaos/a2de91ac0ca2d651e950 to your computer and use it in GitHub Desktop.
Save notakaos/a2de91ac0ca2d651e950 to your computer and use it in GitHub Desktop.
esintrc for Meteor
{
"parser": "babel-eslint",
"extends": "airbnb",
"globals": {
"Meteor": false,
"Tracker": false,
"Session": false,
"Template": false,
"Random": false,
"Npm": false,
"Email": false,
"Match": false,
"check": false,
"Mongo": false,
"ReactiveVar": false,
"ReactiveDict": false,
"EJSON": false,
"React": false,
"ReactMeteorData": false,
"SimpleSchema": false,
"ValidateMethod": false,
"$": false,
"_": false,
},
"rules": {
"indent": [2, 2, {"SwitchCase": 1}],
"quotes": [2, "single"],
"linebreak-style": [2, "unix"],
"semi": [2, "always"],
//"comma-dangle": [2, "always-multiline"],
"comma-dangle": 0,
"no-console": 0,
"no-use-before-define": [2, "nofunc"],
"eqeqeq": [2, "allow-null"],
"id-length": 0,
"no-const-assign": 2,
"no-unused-expressions": [2, {"allowShortCircuit": true}],
"object-curly-spacing": [2, "never"],
"func-names": 0,
"object-shorthand": 0,
"eol-last": 0,
"space-before-function-paren": 0,
},
"env": {
"es6": true,
"node": true,
"browser": true
},
"ecmaFeatures": {
"jsx": true,
"experimentalObjectRestSpread": true,
},
"plugins": [
"react"
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment