support Class Fields
See original GitHub issueThe version of ESLint you are using. latest
The problem you want to solve. support class fields officially, as it has reached stage-4. refs: https://github.com/tc39/proposals/blob/master/finished-proposals.md
Your take on the correct solution to problem.
- Ecma262 update: https://github.com/tc39/ecma262/pull/1668
- ESTree update: https://github.com/estree/estree/pull/250
- Acorn update: https://github.com/acornjs/acorn/pull/1026
-
eslint-visitor-keys
update: https://github.com/eslint/eslint-visitor-keys/pull/20 -
espree
update: https://github.com/eslint/espree/pull/486 -
eslint-scope
update: https://github.com/eslint/eslint-scope/pull/69 -
eslint
syntax and rules update: #14591 -
eslint
code path analysis update
Issue Analytics
- State:
- Created 2 years ago
- Reactions:25
- Comments:12 (5 by maintainers)
Top Results From Across the Web
"class fields" | Can I use... Support tables for HTML5, CSS3, etc
Method of setting required fields and field types without requiring JavaScript. This includes preventing forms from being submitted when appropriate, ...
Read more >Public class fields - JavaScript - MDN Web Docs - Mozilla
Public instance fields exist on every created instance of a class. By declaring a public field, you can ensure the field is always...
Read more >Public and private class fields - V8 JavaScript engine
This article explains the new public class fields syntax in V8 v7.2 and Chrome 72, as well as the upcoming private class fields...
Read more >JavaScript's New Private Class Fields, and How to Use Them
Class fields (also referred to as class properties) aim to deliver simpler constructors with private and static members. The proposal is ...
Read more >JavaScript's new #private class fields – @thejameskyle
Public fields in JavaScript can be referenced via this.field or this['field'] . Private fields won't be able to support the second syntax (because...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Be sure to have this setting in
.eslintjs.rc
.indent ?