Created
June 3, 2015 10:22
-
-
Save dferber90/84a1153200b7614483d5 to your computer and use it in GitHub Desktop.
ESLint file for Meteor with ES6
This file contains 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
{ | |
// This file should actually be called '.eslintrc' | |
// Create it at the root directory of your Meteor app | |
// I want to use babel-eslint for parsing! | |
"parser": "babel-eslint", | |
"env": { | |
// I write for browser | |
"browser": true, | |
// and for the server | |
"node": true, | |
// with Meteor | |
"meteor": true, | |
}, | |
// To give you an idea how to override rule options: | |
"rules": { | |
"quotes": [2, "single"], | |
"eol-last": [0], | |
"no-mixed-requires": [0], | |
"no-underscore-dangle": [0], | |
"no-extra-strict": [0], | |
"strict": [0], | |
"curly": [0] | |
}, | |
"globals": { | |
// define your apps globals here | |
// Packages | |
"Picker": false, | |
"FlowRouter": false, | |
"FlowLayout": false, | |
"GeoJSON": false, | |
"EventEmitter": false, | |
// Components | |
// Collections | |
"Customers": true | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment