Browse Source

chore: update eslint (#297)

main
Justin Poehnelt 3 years ago committed by GitHub
parent
commit
d300c46578
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 1
      .eslintrc.json
  2. 4
      package.json

1
.eslintrc.json

@ -19,6 +19,7 @@
}, },
"env": { "env": {
"browser": true, "browser": true,
"node": true,
"es6": true, "es6": true,
"jest/globals": true "jest/globals": true
}, },

4
package.json

@ -26,8 +26,8 @@
"types": "dist/index.d.ts", "types": "dist/index.d.ts",
"scripts": { "scripts": {
"docs": "typedoc src/index.ts && cp -r dist docs/dist && cp -r examples docs/examples", "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", "format": "eslint . --fix",
"lint": "eslint src/*", "lint": "eslint .",
"prepare": "rm -rf dist && rollup -c", "prepare": "rm -rf dist && rollup -c",
"test": "jest src/*", "test": "jest src/*",
"test:e2e": "jest --passWithNoTests e2e/*" "test:e2e": "jest --passWithNoTests e2e/*"

Loading…
Cancel
Save