diff --git a/.eslintrc.json b/.eslintrc.json index 41f516b..d5f31bf 100644 --- a/.eslintrc.json +++ b/.eslintrc.json @@ -27,5 +27,10 @@ "no-unused-expressions": "warn", "no-duplicate-imports": "warn", "new-parens": "warn" - } -} \ No newline at end of file + }, + "overrides": [ + { + "files": ["*.ts"] + } + ] +} diff --git a/package.json b/package.json index 6536a20..bce5aad 100644 --- a/package.json +++ b/package.json @@ -32,6 +32,6 @@ "clean": "rimraf lib", "watch": "tsc -w -p ./src", "test": "npm run compile && mocha ./lib/umd/test", - "lint": "eslint src/**/*.ts" + "lint": "eslint ." } }