1
0
mirror of https://github.com/ansible/awx.git synced 2024-11-01 08:21:15 +03:00
awx/.eslintrc

57 lines
1.3 KiB
Plaintext
Raw Normal View History

2018-09-27 03:56:58 +03:00
{
"parser": "babel-eslint",
"parserOptions": {
"ecmaVersion": 6,
"sourceType": "module",
"ecmaFeatures": {
"jsx": true,
"modules": true
}
},
"extends": [
"airbnb"
2018-09-27 03:56:58 +03:00
],
"settings": {
"react": {
"version": "16.5.2"
}
},
"env": {
"browser": true,
"node": true,
"jest": true
2018-09-27 03:56:58 +03:00
},
"globals": {
"window": true
2018-09-27 03:56:58 +03:00
},
"rules": {
2018-10-11 18:31:37 +03:00
"camelcase": "off",
2018-09-27 03:56:58 +03:00
"arrow-parens": "off",
"comma-dangle": "off",
"import/no-extraneous-dependencies": ["error", { "devDependencies": true }],
2018-09-27 03:56:58 +03:00
"indent": ["error", 2, {
"SwitchCase": 1
}],
"max-len": ["error", {
2018-09-27 03:56:58 +03:00
"code": 100,
"ignoreStrings": true,
"ignoreTemplateLiterals": true
2018-09-27 03:56:58 +03:00
}],
"no-continue": "off",
"no-debugger": "off",
"no-mixed-operators": "off",
"no-param-reassign": "off",
"no-plusplus": "off",
"no-underscore-dangle": "off",
"no-use-before-define": "off",
"no-multiple-empty-lines": ["error", { "max": 1 }],
2018-09-27 03:56:58 +03:00
"object-curly-newline": "off",
"space-before-function-paren": ["error", "always"],
"no-trailing-spaces": ["error"],
2018-10-11 18:31:37 +03:00
"react/prefer-stateless-function": "off",
"react/prop-types": "off",
2018-10-15 19:14:52 +03:00
"jsx-a11y/label-has-for": "off",
"jsx-a11y/label-has-associated-control": "off"
2018-09-27 03:56:58 +03:00
}
}