Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update: Add enforceForClassMembers option to no-useless-computed-key (#…
…12110) * Update: Add checkMethods option to no-useless-computed-key * Update: Don't flag `static ['constructor']` * Update: Flag static computed constructor * Update: Rename `checkMethods` to `enforceForClassMembers` * Chore: Valid class test cases don't have new option specified * Chore: Add tests with defaults and explicitly disabled option * Chore: Add class expression tests * Docs: Add `enforceForClassMembers` option to `no-useless-computed-key` * Chore: Resolve JSDoc lint warnings * Address review comments
- Loading branch information
1 parent
1a2eb99
commit 4f8a1ee
Showing
3 changed files
with
294 additions
and
37 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters