diff --git a/.eslintrc.cjs b/.eslintrc.cjs index 6c14b50c..a4242d52 100644 --- a/.eslintrc.cjs +++ b/.eslintrc.cjs @@ -180,25 +180,9 @@ module.exports = { 'prefer-template': 'warn', 'no-else-return': 'warn', 'func-names': ['warn', 'never'], - 'func-style': ['warn', 'declaration'], 'one-var': ['warn', 'never'], 'operator-assignment': 'warn', 'prefer-arrow-callback': 'warn', - 'no-restricted-syntax': [ - 'warn', - { - selector: "CallExpression[callee.name='String']", - message: "Don't use the String function. Use .toString() instead." - }, - { - selector: "CallExpression[callee.name='Number']", - message: "Don't use the Number function. Use parseInt or parseFloat instead." - }, - { - selector: "CallExpression[callee.name='Boolean']", - message: "Don't use the Boolean function. Use a strict comparison instead." - } - ], 'no-restricted-imports': [ 'warn', {