Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 9be67b2

Browse filesBrowse files
committed
tools: activate more eslint rules
This activates the following recommended eslint rules: - no-async-promise-executor - no-shadow-restricted-names PR-URL: #27670 Reviewed-By: Michaël Zasso <targos@protonmail.com> Reviewed-By: Richard Lau <riclau@uk.ibm.com> Reviewed-By: Refael Ackermann (רפאל פלחי) <refack@gmail.com> Reviewed-By: Daijiro Wachi <daijiro.wachi@gmail.com> Reviewed-By: Ujjwal Sharma <usharma1998@gmail.com>
1 parent 739c2a3 commit 9be67b2
Copy full SHA for 9be67b2

File tree

Expand file treeCollapse file tree

1 file changed

+2
-0
lines changed
Open diff view settings
Filter options
Expand file treeCollapse file tree

1 file changed

+2
-0
lines changed
Open diff view settings
Collapse file

‎.eslintrc.js‎

Copy file name to clipboardExpand all lines: .eslintrc.js
+2Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -114,6 +114,7 @@ module.exports = {
114114
tabWidth: 2,
115115
}],
116116
'new-parens': 'error',
117+
'no-async-promise-executor': 'error',
117118
'no-class-assign': 'error',
118119
'no-confusing-arrow': 'error',
119120
'no-const-assign': 'error',
@@ -246,6 +247,7 @@ module.exports = {
246247
'no-return-await': 'error',
247248
'no-self-assign': 'error',
248249
'no-self-compare': 'error',
250+
'no-shadow-restricted-names': 'error',
249251
'no-tabs': 'error',
250252
'no-template-curly-in-string': 'error',
251253
'no-this-before-super': 'error',

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.