From ce68e01843ac01cfa0eb3ac0efd008b9bc1afcf7 Mon Sep 17 00:00:00 2001 From: Morgan Roderick Date: Tue, 23 Feb 2021 16:21:16 +0000 Subject: [PATCH] Remove obsolete eslint config The new version of @sinonjs/eslint-config makes all this configuration obsolete --- .eslintrc.yml | 13 ------------- test/.eslintrc.yml | 1 - 2 files changed, 14 deletions(-) diff --git a/.eslintrc.yml b/.eslintrc.yml index bc9484519..3267eefa9 100644 --- a/.eslintrc.yml +++ b/.eslintrc.yml @@ -1,21 +1,8 @@ extends: - "@sinonjs/eslint-config" -globals: - ArrayBuffer: false - Map: false - Promise: false - Set: false - Symbol: false - plugins: - "@sinonjs/no-prototype-methods" rules: "@sinonjs/no-prototype-methods/no-prototype-methods": error - # the sinon config is currently using prettier plugin - # once that has been updated, this line can be removed - # See https://github.com/sinonjs/eslint-config-sinon/blob/956db70f2e0566d0e7f8f1f093da4704cf16afb2/index.js#L288-L290 - prettier/prettier: off - # This needs to go into eslint-config-sinon - quotes: off diff --git a/test/.eslintrc.yml b/test/.eslintrc.yml index 639b599ec..bf8d76bbd 100644 --- a/test/.eslintrc.yml +++ b/test/.eslintrc.yml @@ -5,4 +5,3 @@ rules: "@sinonjs/no-prototype-methods/no-prototype-methods": off max-nested-callbacks: off - no-restricted-syntax: [error, "TryStatement"]