Open
Description
I'm seeing some logging related to TSPrivateIdentifier
while testing eslint-plugin-jsx-a11y
.
https://github.com/AriPerkkio/eslint-remote-tester/actions/workflows/lint-eslint-plugin-jsx-a11y.yml
2021-09-09T05:45:12.5777054Z The prop value with an expression type of TSPrivateIdentifier could not be resolved. Please file issue to get this fixed immediately.
2021-09-09T05:45:13.4113986Z The prop value with an expression type of TSPrivateIdentifier could not be resolved. Please file issue to get this fixed immediately.
Minimal repro:
import React from "react";
export class MyLink extends React.Component {
#urls = { submit: "/submit" };
render() {
return <a href={this.#urls.submit}>Submit</a>;
}
}
{
"root": true,
"env": {
"es6": true
},
"parser": "@typescript-eslint/parser",
"parserOptions": {
"ecmaVersion": 2020,
"sourceType": "module",
"ecmaFeatures": {
"jsx": true
}
},
"settings": {
"react": {
"version": "16.13.1"
}
},
"extends": ["plugin:jsx-a11y/recommended"]
}
{
"scripts": {
"lint": "eslint index.tsx"
},
"devDependencies": {
"@typescript-eslint/parser": "^4.31.1",
"eslint": "7.32.0",
"eslint-plugin-jsx-a11y": "^6.4.1",
"eslint-plugin-react": "7.21.5",
"react": "16",
"typescript": "^4.4.3"
}
}
Metadata
Assignees
Labels
No labels