wazuh-kibana-app/.eslintrc.json

31 lines
778 B
JSON
Raw Normal View History

2017-10-27 07:03:53 +00:00
{
"env": {
"node": true,
"es6": true,
"mocha": true
2017-10-27 07:03:53 +00:00
},
"parserOptions": {
"ecmaVersion": 7,
"sourceType": "module",
"ecmaFeatures": {
"jsx": true
}
2017-10-27 07:03:53 +00:00
},
2018-09-03 09:46:55 +00:00
"globals": {
"XPACK_RBAC_ENABLED": true
},
2017-10-27 07:03:53 +00:00
"parser": "babel-eslint",
"rules": {
"node/exports-style": ["error", "module.exports"],
2018-09-03 09:46:55 +00:00
"no-console": "warn",
"semi": "off",
"no-process-exit": "error",
"no-extra-boolean-cast": "off",
"node/no-unpublished-require": 0,
2018-06-25 10:16:15 +00:00
"node/no-unsupported-features": 0,
2018-09-03 09:46:55 +00:00
"node/no-unsupported-features/es-syntax": 0
2017-10-27 07:03:53 +00:00
},
"plugins": ["node", "async-await"],
2017-10-27 07:03:53 +00:00
"extends": ["eslint:recommended", "plugin:node/recommended"]
}