mirror of
https://github.com/airbnb/javascript.git
synced 2026-01-14 10:38:03 -05:00
[eslint-v2] add no-new-symbol rule
This commit is contained in:
committed by
Jordan Harband
parent
ba10353e9b
commit
3762c9add8
@@ -33,6 +33,9 @@ module.exports = {
|
||||
'no-confusing-arrow': 2,
|
||||
// disallow modifying variables that are declared using const
|
||||
'no-const-assign': 2,
|
||||
// disallow symbol constructor
|
||||
// http://eslint.org/docs/rules/no-new-symbol
|
||||
'no-new-symbol': 2,
|
||||
// disallow specific imports
|
||||
// http://eslint.org/docs/rules/no-restricted-imports
|
||||
'no-restricted-imports': 0,
|
||||
|
||||
Reference in New Issue
Block a user