Cleanup Linting

This commit is contained in:
Sacha Weatherstone
2022-02-20 16:27:55 +11:00
parent 6e0aa0ea42
commit ff91e822b9
10 changed files with 152 additions and 519 deletions
+14 -19
View File
@@ -8,23 +8,32 @@
"build": "tsc && vite build",
"preview": "vite preview",
"package": "gzipper c -i html,js,css,png,ico,svg,webmanifest,txt dist dist/output && tar -cvf dist/build.tar -C ./dist/output/ $(ls ./dist/output/)",
"format": "prettier --write 'src/**/*.{ts,tsx}'",
"check": "unimported",
"lint": "eslint 'src/**/*.{ts,tsx}'"
"format": "prettier --write 'src/**/*.{ts,tsx}' && eslint src/*.{ts,tsx}",
"check": "unimported"
},
"repository": {
"type": "git",
"url": "git+https://github.com/meshtastic/meshtastic-web.git"
},
"bugs": {
"url": "https://github.com/meshtastic/meshtastic-web/issues"
},
"homepage": "https://meshtastic.org",
"dependencies": {
"@emeraldpay/hashicon-react": "^0.5.2",
"@meshtastic/meshtasticjs": "^0.6.46",
"@meshtastic/eslint-config": "^1.0.6",
"@meshtastic/meshtasticjs": "^0.6.47",
"@reduxjs/toolkit": "^1.7.2",
"@tippyjs/react": "^4.2.6",
"base64-js": "^1.5.1",
"framer-motion": "^6.2.6",
"mapbox-gl": "^2.7.0",
"prettier": "^2.5.1",
"react": "^17.0.2",
"react-dom": "^17.0.2",
"react-error-boundary": "^3.1.4",
"react-flow-renderer": "^10.0.0-next.39",
"react-hook-form": "^7.27.0",
"react-hook-form": "^7.27.1",
"react-icons": "^4.3.1",
"react-json-pretty": "^2.2.0",
"react-multi-select-component": "^4.2.3",
@@ -44,24 +53,10 @@
"@types/react-dom": "^17.0.11",
"@types/w3c-web-serial": "^1.0.2",
"@types/web-bluetooth": "^0.0.12",
"@typescript-eslint/eslint-plugin": "^5.12.0",
"@typescript-eslint/parser": "^5.12.0",
"@verypossible/eslint-config": "^1.6.1",
"@vitejs/plugin-react": "^1.2.0",
"autoprefixer": "^10.4.2",
"babel-plugin-module-resolver": "^4.1.0",
"eslint": "8.9.0",
"eslint-config-prettier": "^8.3.0",
"eslint-import-resolver-alias": "^1.1.2",
"eslint-import-resolver-babel-module": "^5.3.1",
"eslint-import-resolver-typescript": "^2.5.0",
"eslint-plugin-import": "^2.25.4",
"eslint-plugin-react": "^7.28.0",
"eslint-plugin-react-hooks": "^4.3.0",
"gzipper": "^7.0.0",
"postcss": "^8.4.6",
"prettier": "^2.5.1",
"prettier-plugin-tailwindcss": "^0.1.7",
"rollup-plugin-visualizer": "^5.5.4",
"tailwindcss": "^3.0.23",
"tar": "^6.1.11",