[eslint-v2] add no-new-symbol rule

This commit is contained in:
Harrison Shoff
2016-02-14 14:58:28 -08:00
committed by Jordan Harband
parent ba10353e9b
commit 3762c9add8

View File

@@ -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,