Skip to content

Commit 06eca2e

Browse files
committed
chore: remove lint restriction
See 7efb9db
1 parent 153b7a4 commit 06eca2e

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

.eslintrc.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,9 @@ module.exports = {
1616
// most of the codebase are expected to be env agnostic
1717
'no-restricted-globals': ['error', ...DOMGlobals, ...NodeGlobals],
1818
// since we target ES2015 for baseline support, we need to forbid object
19-
// rest spread usage (both assign and destructure)
19+
// rest spread usage (destructure)
2020
'no-restricted-syntax': [
2121
'error',
22-
'ObjectExpression > SpreadElement',
2322
'ObjectPattern > RestElement',
2423
'AwaitExpression'
2524
]

0 commit comments

Comments
 (0)