Files
Umbraco-CMS/src/Umbraco.Web.UI.Client/.eslintrc
Per Ploug fc323ae89d Include EsLint in grunt
ESlint is not turned on by default - as it gives us 500ish errors as of
the current state of the codebase, also, we should start linting
controllers (why arent we?)

EsLint contains angular best practices rules and will help us get V8
ready for Angular2 and to follow best practices, untill everything
passes we can turn it on and off during clean-up time
2015-06-25 11:49:00 +02:00

53 lines
1.0 KiB
Plaintext

{
"env": {
"browser": true
},
"plugins": [
"angular"
],
"rules": {
"eqeqeq": 2,
"curly": 2,
"no-unused-vars": 1,
"no-eval": 1,
"no-delete-var": 1,
"quotes": 1,
"dot-notation": 1,
"no-use-before-define": 0,
"angular/ng_controller_as": 1,
"angular/ng_controller_as_vm": 1,
"strict": 0,
"no-irregular-whitespace": 0,
"no-mixed-spaces-and-tabs": 0,
"no-multi-spaces": 0,
"key-spacing": 0,
"semi-spacing": 0,
"space-infix-ops": 0,
"comma-spacing": 0,
"no-trailing-spaces": 0,
"eol-last": 0,
"no-underscore-dangle": 0,
"camelcase": 0
},
"globals": {
"angular": false,
"_": false,
"$", false,
"tinymce": false,
"tinyMCE": false,
"FileReader": false,
"Umbraco": false,
"window": false,
"LazyLoad": false,
"ActiveXObject": false,
"Bloodhound", false
}
}