diff --git a/.eslintrc b/.eslintrc index 064dc32686..0040f1175b 100644 --- a/.eslintrc +++ b/.eslintrc @@ -12,7 +12,7 @@ "es6": true }, "plugins": [ - "@typescript-eslint", "microsoft-typescript" + "@typescript-eslint", "microsoft-typescript", "import" ], "rules": { "@typescript-eslint/adjacent-overload-signatures": "error", @@ -69,6 +69,10 @@ "microsoft-typescript/debug-assert": "error", "microsoft-typescript/no-keywords": "error", + "import/no-extraneous-dependencies": ["error", { + "optionalDependencies": false + }], + "arrow-body-style": "off", "arrow-parens": "off", "brace-style": ["error", "stroustrup", { "allowSingleLine": true }], diff --git a/package.json b/package.json index b27094ebd0..d969619dd1 100644 --- a/package.json +++ b/package.json @@ -56,6 +56,7 @@ "@types/xml2js": "^0.4.0", "@typescript-eslint/eslint-plugin": "1.11.0", "@typescript-eslint/parser": "1.11.0", + "async": "latest", "azure-devops-node-api": "^8.0.0", "browser-resolve": "^1.11.2", "browserify": "latest", @@ -65,9 +66,11 @@ "del": "latest", "eslint": "6.0.1", "eslint-formatter-autolinkable-stylish": "latest", + "eslint-plugin-import": "2.18.0", "eslint-plugin-microsoft-typescript": "0.1.11", "fancy-log": "latest", "fs-extra": "^6.0.1", + "glob": "latest", "gulp": "^4.0.0", "gulp-concat": "latest", "gulp-insert": "latest",