* nodejs cypress test launchdarkly * Delete README.md * refactor code * refactor code * code cleanup Co-authored-by: Arpendu Kumar Garai <Arpendu.KumarGarai@microfocus.com>
68 lines
1.6 KiB
Plaintext
68 lines
1.6 KiB
Plaintext
{
|
|
"parser": "babel-eslint",
|
|
"parserOptions": {
|
|
"allowImportExportEverywhere": true
|
|
},
|
|
"extends": [
|
|
"airbnb",
|
|
"eslint:recommended",
|
|
"plugin:react/recommended"
|
|
],
|
|
"plugins": [
|
|
"babel"
|
|
],
|
|
"rules": {
|
|
"arrow-parens": 0,
|
|
"eol-last": 0,
|
|
"global-require": 0,
|
|
"arrow-body-style": 0,
|
|
"consistent-return": 0,
|
|
"no-unneeded-ternary": 0,
|
|
"max-len": 0,
|
|
"no-param-reassign": 2,
|
|
"new-cap": 0,
|
|
"no-console": 0,
|
|
"object-curly-spacing": 0,
|
|
"spaced-comment": 0,
|
|
"import/no-extraneous-dependencies": 0,
|
|
"import/first": 0,
|
|
"import/prefer-default-export": 0,
|
|
"import/no-mutable-exports": 0,
|
|
"import/no-named-as-default": 0,
|
|
"react/display-name": 0,
|
|
"react/jsx-filename-extension": 0,
|
|
"react/jsx-indent": 0,
|
|
"react/jsx-indent-props": 0,
|
|
"react/jsx-space-before-closing": 0,
|
|
"react/jsx-first-prop-new-line": 0,
|
|
"react/prefer-stateless-function": 0,
|
|
"react/jsx-closing-bracket-location": 0,
|
|
"react/require-extension": 0,
|
|
"react/sort-comp": 0,
|
|
"react/jsx-wrap-multilines": 0,
|
|
"react/jsx-no-bind": 0,
|
|
"react/jsx-users-react": 0,
|
|
"react/jsx-tag-spacing": 0,
|
|
"jsx-a11y/anchor-is-valid": 0,
|
|
"jsx-a11y/img-has-alt": 0,
|
|
"no-trailing-spaces": 0,
|
|
"no-underscore-dangle": 0,
|
|
"no-use-before-define": 0,
|
|
"no-duplicate-imports": 0,
|
|
"import/no-duplicates": 1,
|
|
"no-useless-escape": 0,
|
|
"no-unused-expressions": [1 , {"allowTernary": true}],
|
|
"react/forbid-prop-types": 0
|
|
},
|
|
"env": {
|
|
"browser": true,
|
|
"jest": true,
|
|
"node": true
|
|
},
|
|
"globals": {
|
|
"React": true,
|
|
"fetch": true,
|
|
"jest": true
|
|
}
|
|
}
|