chore: remove ts-lint, upgrade eslint, jest, prettier

pull/5690/head
Pavel Zavora 2021-03-08 09:44:26 +01:00
parent 815d8a8c56
commit 8024bd769e
4 changed files with 3163 additions and 1823 deletions

View File

@ -1 +0,0 @@
ui/.eslintrc

View File

@ -8,8 +8,7 @@
],
"extends": [
"eslint:recommended",
"prettier",
"prettier/react"
"plugin:prettier/recommended"
],
"env": {
"browser": true,

View File

@ -15,12 +15,10 @@
"test": "jest",
"test:watch": "jest --watch",
"test:debug": "node --inspect-brk node_modules/.bin/jest --runInBand --watch",
"lint": "yarn run eslint; yarn run tslint; yarn run tsc",
"lint": "yarn run eslint; yarn run tsc",
"eslint": "eslint src",
"eslint:watch": "esw src --watch --cache",
"eslint:fix": "eslint src --fix",
"tslint": "tslint -c ./tslint.json '{src,test}/**/*.ts?(x)'",
"tslint:fix": "tslint --fix -c ./tslint.json '{src,test}/**/*.ts?(x)'",
"tsc": "tsc -p ./tsconfig.json --noEmit --pretty",
"tsc:watch": "tsc -p ./tsconfig.json --noEmit --pretty -w",
"dev": "yarn clean && yarn start"
@ -32,7 +30,7 @@
"@babel/plugin-proposal-decorators": "^7.1.2",
"@babel/plugin-proposal-object-rest-spread": "^7.0.0",
"@babel/plugin-transform-runtime": "^7.1.0",
"@babel/preset-env": "^7.1.0",
"@babel/preset-env": "^7.13.9",
"@babel/preset-react": "^7.0.0",
"@types/chroma-js": "^1.3.4",
"@types/codemirror": "^0.0.56",
@ -40,7 +38,7 @@
"@types/d3-scale": "^2.0.1",
"@types/dygraphs": "^1.1.6",
"@types/enzyme": "^3.1.13",
"@types/jest": "^23.3.5",
"@types/jest": "^26.0.20",
"@types/levelup": "^0.0.30",
"@types/lodash": "^4.14.104",
"@types/node": "^9.4.6",
@ -61,34 +59,30 @@
"babel-eslint": "^10.0.1",
"babel-jest": "^23.6.0",
"babel-plugin-lodash": "^3.3.4",
"babel-plugin-module-resolver": "^3.1.1",
"babel-plugin-module-resolver": "^4.1.0",
"enzyme": "^3.6.0",
"enzyme-adapter-react-16": "^1.5.0",
"enzyme-to-json": "^3.3.4",
"eslint": "^5.6.1",
"eslint-config-prettier": "^2.9.0",
"eslint-plugin-babel": "^5.2.1",
"eslint-plugin-jest": "^21.12.2",
"eslint-plugin-prettier": "^2.6.0",
"eslint-plugin-react": "^7.11.1",
"eslint-watch": "^4.0.2",
"eslint": "^7.21.0",
"eslint-config-prettier": "^8.1.0",
"eslint-plugin-babel": "^5.3.1",
"eslint-plugin-jest": "^24.1.8",
"eslint-plugin-prettier": "^3.3.1",
"eslint-plugin-react": "^7.22.0",
"eslint-watch": "^7.0.0",
"express": "^4.14.0",
"fake-indexeddb": "^2.0.4",
"http-proxy-middleware": "^0.18.0",
"identity-obj-proxy": "^3.0.0",
"jest": "^23.6.0",
"jest": "^26.6.3",
"jest-runner-eslint": "^0.10.0",
"jsdom": "^9.0.0",
"node-sass": "^4.13.0",
"parcel": "^1.12.4",
"prettier": "1.12.1",
"prettier": "^2.2.1",
"sass": "^1.26.3",
"ts-jest": "^23.10.3",
"ts-jest": "^26.5.3",
"tslib": "^1.9.0",
"tslint": "^5.9.1",
"tslint-config-prettier": "^1.10.0",
"tslint-plugin-prettier": "^1.3.0",
"tslint-react": "^3.5.1",
"typescript": "^4.2.2"
},
"dependencies": {

File diff suppressed because it is too large Load Diff