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 @@ @@ -19,6 +19,7 @@
},
"env": {
"browser": true,
"node": true,
"es6": true,
"jest/globals": true
},

4
package.json

@ -26,8 +26,8 @@ @@ -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/*"

Loading…
Cancel
Save