add eslint

This commit is contained in:
Philipp Kühn
2020-09-23 23:31:06 +02:00
parent c85064d229
commit 59adb2c616
4 changed files with 576 additions and 19 deletions

View File

@@ -15,6 +15,7 @@
"build:docs": "yarn --cwd ./docs build",
"build:packages": "yarn clean:packages && lerna exec --parallel -- microbundle --compress",
"clean:packages": "rm -rf ./packages/*/dist",
"lint": "eslint --quiet --no-error-on-unmatched-pattern ./",
"test:open": "cypress open --project tests",
"test": "cypress run --project tests",
"reset": "yarn clean:packages && rm -rf ./**/.cache && rm -rf ./**/node_modules && rm -rf ./yarn.lock && yarn install"
@@ -30,7 +31,14 @@
"@types/prosemirror-state": "^1.2.5",
"@types/prosemirror-transform": "^1.1.1",
"@types/prosemirror-view": "^1.15.0",
"@typescript-eslint/parser": "^4.2.0",
"cypress": "^5.2.0",
"eslint": "^7.9.0",
"eslint-config-airbnb-base": "^14.2.0",
"eslint-plugin-cypress": "^2.11.1",
"eslint-plugin-html": "^6.1.0",
"eslint-plugin-import": "^2.22.0",
"eslint-plugin-vue": "^6.2.2",
"lerna": "^3.22.1",
"microbundle": "^0.12.3",
"sass-loader": "^9.0.3",