mirror of
https://github.com/hasura/graphql-engine.git
synced 2024-12-16 18:42:30 +03:00
040a281392
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6153 GitOrigin-RevId: e0dea3acf995d8f73eed8fabae374e215ebcd964
59 lines
1.7 KiB
JSON
59 lines
1.7 KiB
JSON
{
|
|
"root": true,
|
|
"ignorePatterns": ["**/*"],
|
|
"plugins": ["@nrwl/nx"],
|
|
"overrides": [
|
|
{
|
|
"files": ["*.ts", "*.tsx", "*.js", "*.jsx"],
|
|
"rules": {
|
|
"@nrwl/nx/enforce-module-boundaries": [
|
|
"error",
|
|
{
|
|
"enforceBuildableLibDependency": true,
|
|
"allow": [],
|
|
"depConstraints": [
|
|
{
|
|
"sourceTag": "*",
|
|
"onlyDependOnLibsWithTags": ["*"]
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"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"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"files": ["*.ts", "*.tsx"],
|
|
"extends": ["plugin:@nrwl/nx/typescript"],
|
|
"rules": {}
|
|
},
|
|
{
|
|
"files": ["*.js", "*.jsx"],
|
|
"extends": ["plugin:@nrwl/nx/javascript"],
|
|
"rules": {}
|
|
}
|
|
]
|
|
}
|