* TP-50439 | map enhancements * TP-50439 | Map enhancements v2 * TP-50439 | fix missing icon houston * TP-50439 | revert config files changes * TP-50439 | revert debug extension console log * TP-50439 | fix * TP-50439 | fixes * TP-50439 | fixes * TP-50439 | zindex var * TP-50439 | live location external routing changes * TP-50439 | external Live Location Fixes * TP-50439 | internal map view fixes * TP-50439 | fixes * TP-50439 | revert api helper * TP-50439 | submodule update * TP-50439 | feedback selection fix * TP-50439 | fix --------- Co-authored-by: yashmantri <mantri.ramkishor@navi.com>
54 lines
1.4 KiB
JSON
54 lines
1.4 KiB
JSON
{
|
|
"env": {
|
|
"browser": true,
|
|
"es2021": true,
|
|
"jest": true
|
|
},
|
|
"extends": [
|
|
"eslint:recommended",
|
|
"plugin:react/recommended",
|
|
"plugin:@typescript-eslint/recommended",
|
|
"plugin:prettier/recommended"
|
|
],
|
|
"parser": "@typescript-eslint/parser",
|
|
"parserOptions": {
|
|
"ecmaFeatures": {
|
|
"jsx": true
|
|
},
|
|
"ecmaVersion": "latest",
|
|
"sourceType": "module"
|
|
},
|
|
"plugins": ["react", "@typescript-eslint", "react-hooks", "prettier", "import"],
|
|
"ignorePatterns" : ["**/versions/**","**/*.js"],
|
|
"settings": {
|
|
"react": {
|
|
"createClass": "createReactClass",
|
|
"pragma": "React",
|
|
"fragment": "Fragment",
|
|
"version": "detect",
|
|
"flowVersion": "0.53"
|
|
},
|
|
"import/resolver": {
|
|
"node": {
|
|
"extensions": [".js", ".jsx", ".ts", ".tsx", ".d.ts"]
|
|
},
|
|
"typescript": {}
|
|
}
|
|
},
|
|
"rules": {
|
|
"react/react-in-jsx-scope": "off",
|
|
"react/display-name": "off",
|
|
"react/jsx-uses-react": "error",
|
|
"react/jsx-uses-vars": "error",
|
|
"react-hooks/rules-of-hooks": "error",
|
|
"no-console": "error",
|
|
"@typescript-eslint/member-delimiter-style": "warn",
|
|
"@typescript-eslint/ban-types": "warn",
|
|
"@typescript-eslint/type-annotation-spacing": "warn",
|
|
"@typescript-eslint/no-inferrable-types": "warn",
|
|
"@typescript-eslint/no-empty-interface": "warn",
|
|
"@typescript-eslint/no-empty-function": "off",
|
|
"@typescript-eslint/no-var-requires": "warn"
|
|
}
|
|
}
|