We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Inside classes, if you reuse properties inside other properties, the ordering will lead to an error depending on how they are named.
class TheClass { x = new XProperty() // Create model from properties model = [this.x] }
will lead to
class TheClass { // Create model from properties // Error TS2729: Property 'x' is used before its initialization. model = [this.x] x = new XProperty() }
v8.57.0
v2.7.0
I don't know if this is a good programming standard as I'm just using a framework that generates this kind of code OOB.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Describe the bug
Inside classes, if you reuse properties inside other properties, the ordering will lead to an error depending on how they are named.
Code example
will lead to
ESLint version
v8.57.0
ESLint Plugin Perfectionist version
v2.7.0
Additional comments
I don't know if this is a good programming standard as I'm just using a framework that generates this kind of code OOB.
Validations
The text was updated successfully, but these errors were encountered: