{ "extends": ["plugin:@nrwl/nx/react", "../../.eslintrc.json"], "ignorePatterns": ["!**/*", "src/assets/**"], "overrides": [ { "files": ["*.ts", "*.tsx", "*.js", "*.jsx"], "rules": { "react/forbid-dom-props": [ "error", { "forbid": [ { "propName": "data-analytics-name", "message": "Analytics attributes (data-analytics-name) should be added through the Analytics component/utilities" }, { "propName": "data-trackid", "message": "Analytics attributes (data-trackid) should be added through the Analytics component/utilities" }, { "propName": "data-heap-redact-text", "message": "Analytics attributes (data-heap-redact-text) should be added through the Analytics component/utilities" }, { "propName": "data-heap-redact-attributes", "message": "Analytics attributes (data-heap-redact-attributes) should be added through the Analytics component/utilities" } ] } ], "react/forbid-component-props": [ "error", { "forbid": [ { "propName": "data-analytics-name", "message": "Analytics attributes (data-analytics-name) should be added through the Analytics component/utilities" }, { "propName": "data-trackid", "message": "Analytics attributes (data-trackid) should be added through the Analytics component/utilities" }, { "propName": "data-heap-redact-text", "message": "Analytics attributes (data-heap-redact-text) should be added through the Analytics component/utilities" }, { "propName": "data-heap-redact-attributes", "message": "Analytics attributes (data-heap-redact-attributes) should be added through the Analytics component/utilities" } ] } ] } }, { "files": ["*.ts", "*.tsx"], "rules": {} }, { "files": ["*.js", "*.jsx"], "rules": {} } ] }