Mailspring/build/config/eslint.json
Juan Tejada 2e3ab31952 Update grunt tasks to lint and transpile es6 code using babel
Summary: - Linter uses predefined rules for ES6 and React from airbnb

Test Plan: - Manuel

Reviewers: evan, bengotow

Reviewed By: bengotow

Differential Revision: https://phab.nylas.com/D2242
2015-11-06 17:40:42 -08:00

17 lines
286 B
JSON

{
"extends": "airbnb",
"globals": {
"atom": false
},
"env": {
"browser": true,
"node": true,
"jasmine": true
},
"rules": {
"react/prop-types": [2, {"ignore": ["children"]}],
"eqeqeq": [2, "smart"],
"id-length": [0],
"no-loop-func": [0]
}
}