Skip to content

Commit 7657eae

Browse files
committed
update jest/eslint peer deps and eslint rules
1 parent dd7f38d commit 7657eae

File tree

4 files changed

+2727
-1806
lines changed

4 files changed

+2727
-1806
lines changed

.eslintrc.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,12 +78,15 @@
7878
"@typescript-eslint/no-this-alias": "warn",
7979
"@typescript-eslint/no-unused-vars": "warn",
8080
"@typescript-eslint/no-var-requires": "warn",
81+
"@typescript-eslint/no-unnecessary-type-constraint": "warn",
82+
"@typescript-eslint/no-loss-of-precision": "warn",
8183
"no-var": "warn",
8284
"prefer-rest-params": "warn",
8385
"prefer-spread": "warn",
8486
"react-hooks/exhaustive-deps": "warn",
8587
"react-hooks/rules-of-hooks": "warn",
8688
"react/no-unescaped-entities": "warn",
89+
"react/no-unknown-property": "warn",
8790
"react/prop-types": "error"
8891
}
8992
},

package.json

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -102,8 +102,8 @@
102102
"@types/styled-components": "^5.1.1",
103103
"@types/uuid": "^8.3.0",
104104
"@types/whatwg-url": "^8.2.1",
105-
"@typescript-eslint/eslint-plugin": "^8.11.0",
106-
"@typescript-eslint/parser": "^8.11.0",
105+
"@typescript-eslint/eslint-plugin": "^6.21.0",
106+
"@typescript-eslint/parser": "^6.21.0",
107107
"autoprefixer": "^7.1.4",
108108
"babel-eslint": "^10.0.3",
109109
"babel-jest": "^25.2.4",
@@ -117,22 +117,22 @@
117117
"cross-env": "^6.0.3",
118118
"css-loader": "^1.0.0",
119119
"cypress": "^8.3.1",
120-
"eslint": "^7.7.0",
120+
"eslint": "^8.57.1",
121121
"eslint-config-prettier": "^6.7.0",
122-
"eslint-plugin-import": "^2.18.2",
123122
"eslint-plugin-jsx": "^0.1.0",
124123
"eslint-plugin-node": "^10.0.0",
125124
"eslint-plugin-promise": "^4.2.1",
126-
"eslint-plugin-react": "^7.17.0",
127-
"eslint-plugin-react-hooks": "^4.1.2",
125+
"eslint-plugin-import": "^2.31.0",
126+
"eslint-plugin-react": "^7.37.1",
127+
"eslint-plugin-react-hooks": "^4.6.2",
128128
"express": "^4.15.4",
129129
"file-loader": "^2.0.0",
130130
"fork-ts-checker-notifier-webpack-plugin": "^3.0.0",
131131
"fork-ts-checker-webpack-plugin": "^5.0.14",
132132
"html-loader": "^0.5.5",
133133
"html-webpack-plugin": "^4.5.2",
134134
"husky": "^0.14.3",
135-
"jest": "^25.2.4",
135+
"jest": "^29.7.0",
136136
"jest-canvas-mock": "^1.1.0",
137137
"js2xmlparser": "^3.0.0",
138138
"json-loader": "^0.5.7",
@@ -146,8 +146,8 @@
146146
"postcss-loader": "^3.0.0",
147147
"postcss-preset-env": "^3.0.2",
148148
"precss": "^2.0.0",
149-
"prettier-eslint": "^13.0.0",
150-
"prettier-eslint-cli": "^5.0.0",
149+
"prettier-eslint": "^16.3.0",
150+
"prettier-eslint-cli": "^8.0.1",
151151
"raf": "^3.4.0",
152152
"raw-loader": "^0.5.1",
153153
"react-hot-loader": "^4.13.0",
@@ -206,8 +206,8 @@
206206
"memoize-one": "^5.2.1",
207207
"monaco-editor": "0.23.0",
208208
"neo4j-client-sso": "1.2.3",
209-
"neo4j-driver": "5.25.0",
210-
"neo4j-driver-core": "5.25.0",
209+
"neo4j-driver": "5.26.0",
210+
"neo4j-driver-core": "5.26.0",
211211
"re-resizable": "^6.9.9",
212212
"react": "^17.0.2",
213213
"react-dnd": "^11.1.3",

src/neo4j-arc/common/types/cypherDataTypes.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ export type CypherBasicPropertyType =
7272
| number
7373
| string
7474
| Integer
75-
| BigInt
75+
| bigint
7676
| Int8Array
7777
| CypherTemporalType
7878
| Point

0 commit comments

Comments
 (0)