diff --git a/.eslintrc.js b/.eslintrc.js index 2468c28..0b5042a 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -39,6 +39,7 @@ module.exports = { }, rules: { 'no-console': 'off', + 'max-classes-per-file': 'off', 'import/no-extraneous-dependencies': 'off', 'no-new': 'off', '@typescript-eslint/no-var-requires': 'off', diff --git a/package-lock.json b/package-lock.json index 2ad8f3e..d60dd5e 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1867,6 +1867,12 @@ "integrity": "sha1-2Klr13/Wjfd5OnMDajug1UBdR3s=", "dev": true }, + "confusing-browser-globals": { + "version": "1.0.8", + "resolved": "https://registry.npmjs.org/confusing-browser-globals/-/confusing-browser-globals-1.0.8.tgz", + "integrity": "sha512-lI7asCibVJ6Qd3FGU7mu4sfG4try4LX3+GVS+Gv8UlrEf2AeW57piecapnog2UHZSbcX/P/1UDWVaTsblowlZg==", + "dev": true + }, "contains-path": { "version": "0.1.0", "resolved": "https://registry.npmjs.org/contains-path/-/contains-path-0.1.0.tgz", @@ -2531,14 +2537,14 @@ } }, "eslint-config-airbnb-base": { - "version": "13.1.0", - "resolved": "https://registry.npmjs.org/eslint-config-airbnb-base/-/eslint-config-airbnb-base-13.1.0.tgz", - "integrity": "sha512-XWwQtf3U3zIoKO1BbHh6aUhJZQweOwSt4c2JrPDg9FP3Ltv3+YfEv7jIDB8275tVnO/qOHbfuYg3kzw6Je7uWw==", + "version": "14.0.0", + "resolved": "https://registry.npmjs.org/eslint-config-airbnb-base/-/eslint-config-airbnb-base-14.0.0.tgz", + "integrity": "sha512-2IDHobw97upExLmsebhtfoD3NAKhV4H0CJWP3Uprd/uk+cHuWYOczPVxQ8PxLFUAw7o3Th1RAU8u1DoUpr+cMA==", "dev": true, "requires": { - "eslint-restricted-globals": "^0.1.1", + "confusing-browser-globals": "^1.0.7", "object.assign": "^4.1.0", - "object.entries": "^1.0.4" + "object.entries": "^1.1.0" } }, "eslint-config-prettier": { @@ -2764,12 +2770,6 @@ "prettier-linter-helpers": "^1.0.0" } }, - "eslint-restricted-globals": { - "version": "0.1.1", - "resolved": "https://registry.npmjs.org/eslint-restricted-globals/-/eslint-restricted-globals-0.1.1.tgz", - "integrity": "sha1-NfDVy8ZMLj7WLpO0saevBbp+1Nc=", - "dev": true - }, "eslint-scope": { "version": "4.0.3", "resolved": "https://registry.npmjs.org/eslint-scope/-/eslint-scope-4.0.3.tgz", diff --git a/package.json b/package.json index 7545e1e..e85829d 100644 --- a/package.json +++ b/package.json @@ -41,7 +41,7 @@ "@typescript-eslint/parser": "^1.11.0", "coveralls": "^3.0.4", "eslint": "^6.1.0", - "eslint-config-airbnb-base": "^13.1.0", + "eslint-config-airbnb-base": "^14.0.0", "eslint-config-prettier": "^6.0.0", "eslint-plugin-import": "^2.18.0", "eslint-plugin-prettier": "^3.1.0", diff --git a/src/instance-wrappers/class-instance-wrapper.ts b/src/instance-wrappers/class-instance-wrapper.ts index e624133..9facd40 100644 --- a/src/instance-wrappers/class-instance-wrapper.ts +++ b/src/instance-wrappers/class-instance-wrapper.ts @@ -1,3 +1,4 @@ +/* eslint-disable max-classes-per-file */ import { InstanceWrapper, InstanceWrapperArguments } from './instance-wrapper'; import { ClassType, DependencyInterface } from '../internal-types';