From 3762c9add826e47587242460db331d8203cea069 Mon Sep 17 00:00:00 2001 From: Harrison Shoff Date: Sun, 14 Feb 2016 14:58:28 -0800 Subject: [PATCH] [eslint-v2] add no-new-symbol rule --- packages/eslint-config-airbnb/rules/es6.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/packages/eslint-config-airbnb/rules/es6.js b/packages/eslint-config-airbnb/rules/es6.js index 88fbf2eb..be2ebe5c 100644 --- a/packages/eslint-config-airbnb/rules/es6.js +++ b/packages/eslint-config-airbnb/rules/es6.js @@ -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,