diff --git a/.eslintrc.json b/.eslintrc.json index fa6b29d..c391188 100644 --- a/.eslintrc.json +++ b/.eslintrc.json @@ -19,6 +19,7 @@ }, "env": { "browser": true, + "node": true, "es6": true, "jest/globals": true }, diff --git a/package.json b/package.json index 0d83989..9063b65 100644 --- a/package.json +++ b/package.json @@ -26,8 +26,8 @@ "types": "dist/index.d.ts", "scripts": { "docs": "typedoc src/index.ts && cp -r dist docs/dist && cp -r examples docs/examples", - "format": "prettier *.json *.js e2e/* examples/*.html --write && eslint src/* --fix", - "lint": "eslint src/*", + "format": "eslint . --fix", + "lint": "eslint .", "prepare": "rm -rf dist && rollup -c", "test": "jest src/*", "test:e2e": "jest --passWithNoTests e2e/*"