diff --git a/.eslintrc.yml b/.eslintrc.yml index 8a10b415..d208f6c1 100644 --- a/.eslintrc.yml +++ b/.eslintrc.yml @@ -2,6 +2,8 @@ env: node: true es6: true extends: 'eslint:recommended' +plugins: + - import rules: indent: - error @@ -173,3 +175,6 @@ rules: template-curly-spacing: - error - never + import/no-unresolved: + - error + - commonjs: true diff --git a/package.json b/package.json index ad8829a4..48534e84 100644 --- a/package.json +++ b/package.json @@ -44,6 +44,7 @@ "chai": "^3.5.0", "chai-spies": "^0.7.1", "eslint": "^3.12.2", + "eslint-plugin-import": "^2.2.0", "karma": "^1.3.0", "karma-chrome-launcher": "^2.0.0", "karma-firefox-launcher": "^1.0.0",