(node)
| 264 | }, |
| 265 | |
| 266 | MemberExpression(node) { |
| 267 | const property = getPropertyName(node); |
| 268 | const replacement = accessors.get(property); |
| 269 | if (replacement === undefined) return; |
| 270 | if (!isKnownKeyObject(node.object)) return; |
| 271 | |
| 272 | context.report({ |
| 273 | node: node.property, |
| 274 | messageId: 'noPublicAccessor', |
| 275 | data: { |
| 276 | property, |
| 277 | replacement, |
| 278 | }, |
| 279 | }); |
| 280 | }, |
| 281 | |
| 282 | }; |
| 283 | }, |
nothing calls this directly
no test coverage detected