scratchjr/.eslintrc
2016-01-21 16:12:04 -05:00

31 lines
903 B
Text

{
"parser": "babel-eslint",
"rules": {
"strict": 0,
"curly": [2, "multi-line"],
"eol-last": [2],
"indent": [2, 4],
"linebreak-style": [2, "unix"],
"max-len": [2, 120, 4],
"no-trailing-spaces": [2, { "skipBlankLines": true }],
"no-unused-vars": [2, {"args": "after-used", "varsIgnorePattern": "^_"}],
"quotes": [2, "single"],
"semi": [2, "always"],
"space-before-function-paren": [2, "always"],
"strict": [2, "never"],
"brace-style": [2, "1tbs", { "allowSingleLine": false }]
},
"env": {
"browser": true
},
"globals": {
"AndroidInterface": true,
"window": true,
"WebKitCSSMatrix": true,
"Settings": true,
"MediaLib": true,
"webkitAudioContext": true,
"require": true
},
"extends": "eslint:recommended"
}