mirror of https://github.com/rancher/ui.git
84 lines
1.8 KiB
JavaScript
84 lines
1.8 KiB
JavaScript
module.exports = {
|
|
parserOptions: {
|
|
ecmaVersion: 2017,
|
|
sourceType: 'module'
|
|
},
|
|
extends: [
|
|
'eslint:recommended',
|
|
'plugin:ember/recommended'
|
|
],
|
|
globals: {
|
|
"document": true,
|
|
"window": true,
|
|
"-Promise": true,
|
|
"jQuery": true,
|
|
"$": true,
|
|
"navigator": true,
|
|
"moment": true,
|
|
"d3": true,
|
|
"Terminal": true,
|
|
"Prism": true,
|
|
"Ui": true,
|
|
"async": true,
|
|
"AWS": true,
|
|
"Identicon": true,
|
|
"md5": true,
|
|
"_": true,
|
|
"commonmark": true,
|
|
"Stripe": true,
|
|
"jsondiffpatch": true,
|
|
"WebSocket": true,
|
|
"AnsiUp": true,
|
|
"Terminal": true,
|
|
"ShellQuote": true,
|
|
"YAML": true
|
|
},
|
|
env: {
|
|
browser: true,
|
|
"es6": true
|
|
},
|
|
rules: {
|
|
"no-cond-assign": [
|
|
2,
|
|
"except-parens"
|
|
],
|
|
"curly": 2,
|
|
"no-console": 0,
|
|
"no-debugger": 0,
|
|
"eqeqeq": 2,
|
|
"no-eval": 2,
|
|
"guard-for-in": 0,
|
|
"wrap-iife": 0,
|
|
"linebreak-style": 0,
|
|
"new-cap": 0,
|
|
"no-caller": 2,
|
|
"no-empty": 0,
|
|
"no-extra-boolean-cast": 0,
|
|
"no-new": 0,
|
|
"no-plusplus": 0,
|
|
"no-undef": 2,
|
|
"dot-notation": 0,
|
|
"strict": 0,
|
|
"no-eq-null": 2,
|
|
"no-unused-vars": 2,
|
|
"no-useless-escape": 0,
|
|
"ember/use-ember-get-and-set": 0,
|
|
"ember/order-in-controllers": 0,
|
|
"ember/order-in-models": 0,
|
|
"ember/closure-actions": 0,
|
|
"ember/order-in-components": 0,
|
|
"ember/no-on-calls-in-components": 0,
|
|
"ember/named-functions-in-promises": 0,
|
|
"ember/no-observers": 0,
|
|
"ember/no-function-prototype-extensions": 0,
|
|
"ember/avoid-leaking-state-in-components": 0,
|
|
"ember/alias-model-in-controller": 0,
|
|
"ember/order-in-routes": 0,
|
|
"ember/jquery-ember-run": 0,
|
|
"ember/use-brace-expansion": 0,
|
|
"ember/no-side-effects": 0,
|
|
"ember/no-capital-letters-in-routes": 0,
|
|
"generator-star-spacing": 0
|
|
}
|
|
};
|