Skip to content

Commit c5453c8

Browse files
committed
import/no-extraneous-dependencies
1 parent 8e18beb commit c5453c8

2 files changed

Lines changed: 8 additions & 1 deletion

File tree

.eslintrc

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
"es6": true
1313
},
1414
"plugins": [
15-
"@typescript-eslint", "microsoft-typescript"
15+
"@typescript-eslint", "microsoft-typescript", "import"
1616
],
1717
"rules": {
1818
"@typescript-eslint/adjacent-overload-signatures": "error",
@@ -69,6 +69,10 @@
6969
"microsoft-typescript/debug-assert": "error",
7070
"microsoft-typescript/no-keywords": "error",
7171

72+
"import/no-extraneous-dependencies": ["error", {
73+
"optionalDependencies": false
74+
}],
75+
7276
"arrow-body-style": "off",
7377
"arrow-parens": "off",
7478
"brace-style": ["error", "stroustrup", { "allowSingleLine": true }],

package.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,7 @@
5656
"@types/xml2js": "^0.4.0",
5757
"@typescript-eslint/eslint-plugin": "1.11.0",
5858
"@typescript-eslint/parser": "1.11.0",
59+
"async": "latest",
5960
"azure-devops-node-api": "^8.0.0",
6061
"browser-resolve": "^1.11.2",
6162
"browserify": "latest",
@@ -65,9 +66,11 @@
6566
"del": "latest",
6667
"eslint": "6.0.1",
6768
"eslint-formatter-autolinkable-stylish": "latest",
69+
"eslint-plugin-import": "2.18.0",
6870
"eslint-plugin-microsoft-typescript": "0.1.11",
6971
"fancy-log": "latest",
7072
"fs-extra": "^6.0.1",
73+
"glob": "latest",
7174
"gulp": "^4.0.0",
7275
"gulp-concat": "latest",
7376
"gulp-insert": "latest",

0 commit comments

Comments
 (0)