@toptal/davinci-syntax 20.2.7-alpha-FX-NULL-update-dependency-40bf86a2.3 → 21.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,12 @@
|
|
|
1
1
|
# Change Log
|
|
2
2
|
|
|
3
|
+
## 21.0.0
|
|
4
|
+
|
|
5
|
+
### Major Changes
|
|
6
|
+
|
|
7
|
+
- [#2146](https://github.com/toptal/davinci/pull/2146) [`7db32981`](https://github.com/toptal/davinci/commit/7db32981f4c2d844f05cee829062a4db6427c77f) Thanks [@dmaklygin](https://github.com/dmaklygin)!
|
|
8
|
+
- bump `@typescript-eslint` version and Add new `@typescript-eslint/stylistic` plugin to config. Changes in rules described [here](https://github.com/typescript-eslint/typescript-eslint/discussions/6014).
|
|
9
|
+
|
|
3
10
|
## 20.2.6
|
|
4
11
|
|
|
5
12
|
### Patch Changes
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@toptal/davinci-syntax",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "21.0.0",
|
|
4
4
|
"description": "Lint and prettier support",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public"
|
|
@@ -40,11 +40,11 @@
|
|
|
40
40
|
},
|
|
41
41
|
"dependencies": {
|
|
42
42
|
"@stylelint/postcss-css-in-js": "^0.38.0",
|
|
43
|
-
"@toptal/davinci-cli-shared": "2.3.
|
|
44
|
-
"@toptal/davinci-dir-lint": "1.0.
|
|
45
|
-
"@toptal/eslint-plugin-davinci": "5.6.
|
|
46
|
-
"@typescript-eslint/eslint-plugin": "^
|
|
47
|
-
"@typescript-eslint/parser": "^
|
|
43
|
+
"@toptal/davinci-cli-shared": "2.3.5",
|
|
44
|
+
"@toptal/davinci-dir-lint": "^1.0.0",
|
|
45
|
+
"@toptal/eslint-plugin-davinci": "5.6.0",
|
|
46
|
+
"@typescript-eslint/eslint-plugin": "^6.7.3",
|
|
47
|
+
"@typescript-eslint/parser": "^6.7.3",
|
|
48
48
|
"eslint": "^8.34.0",
|
|
49
49
|
"eslint-config-prettier": "^8.5.0",
|
|
50
50
|
"eslint-config-prettier-standard": "^4.0.1",
|
|
@@ -71,11 +71,10 @@
|
|
|
71
71
|
"stylelint-processor-styled-components": "^1.10.0"
|
|
72
72
|
},
|
|
73
73
|
"devDependencies": {
|
|
74
|
-
"
|
|
75
|
-
"
|
|
74
|
+
"json5": "^2.2.3",
|
|
75
|
+
"@jest/globals": "^29.4.2"
|
|
76
76
|
},
|
|
77
77
|
"peerDependencies": {
|
|
78
78
|
"typescript": "^4"
|
|
79
|
-
}
|
|
80
|
-
"gitHead": "40bf86a291da148af53a4aad87100760b60dd3d1"
|
|
79
|
+
}
|
|
81
80
|
}
|
|
@@ -304,6 +304,9 @@ exports[`eslint config verifies eslint rules are not updated silently 1`] = `
|
|
|
304
304
|
},
|
|
305
305
|
},
|
|
306
306
|
],
|
|
307
|
+
'@typescript-eslint/consistent-type-assertions': [
|
|
308
|
+
'off',
|
|
309
|
+
],
|
|
307
310
|
'@toptal/davinci/no-package-self-imports': [
|
|
308
311
|
'error',
|
|
309
312
|
],
|
|
@@ -925,19 +928,49 @@ exports[`eslint config verifies eslint rules are not updated silently 1`] = `
|
|
|
925
928
|
'@typescript-eslint/adjacent-overload-signatures': [
|
|
926
929
|
'error',
|
|
927
930
|
],
|
|
928
|
-
'
|
|
929
|
-
'
|
|
931
|
+
'@typescript-eslint/ban-tslint-comment': [
|
|
932
|
+
'error',
|
|
930
933
|
],
|
|
931
|
-
'@typescript-eslint/
|
|
934
|
+
'@typescript-eslint/class-literal-property-style': [
|
|
935
|
+
'error',
|
|
936
|
+
],
|
|
937
|
+
'@typescript-eslint/consistent-generic-constructors': [
|
|
938
|
+
'error',
|
|
939
|
+
],
|
|
940
|
+
'@typescript-eslint/consistent-indexed-object-style': [
|
|
941
|
+
'error',
|
|
942
|
+
],
|
|
943
|
+
'@typescript-eslint/consistent-type-definitions': [
|
|
944
|
+
'error',
|
|
945
|
+
],
|
|
946
|
+
'@typescript-eslint/no-confusing-non-null-assertion': [
|
|
932
947
|
'error',
|
|
933
948
|
],
|
|
934
949
|
'no-empty-function': [
|
|
935
950
|
'off',
|
|
936
951
|
],
|
|
937
|
-
'@typescript-eslint/no-
|
|
952
|
+
'@typescript-eslint/no-inferrable-types': [
|
|
938
953
|
'error',
|
|
939
954
|
],
|
|
940
|
-
'@typescript-eslint/
|
|
955
|
+
'@typescript-eslint/prefer-for-of': [
|
|
956
|
+
'error',
|
|
957
|
+
],
|
|
958
|
+
'@typescript-eslint/prefer-function-type': [
|
|
959
|
+
'error',
|
|
960
|
+
],
|
|
961
|
+
'@typescript-eslint/prefer-namespace-keyword': [
|
|
962
|
+
'error',
|
|
963
|
+
],
|
|
964
|
+
'no-array-constructor': [
|
|
965
|
+
'off',
|
|
966
|
+
],
|
|
967
|
+
'@typescript-eslint/no-array-constructor': [
|
|
968
|
+
'error',
|
|
969
|
+
],
|
|
970
|
+
'@typescript-eslint/no-duplicate-enum-values': [
|
|
971
|
+
'error',
|
|
972
|
+
],
|
|
973
|
+
'@typescript-eslint/no-extra-non-null-assertion': [
|
|
941
974
|
'error',
|
|
942
975
|
],
|
|
943
976
|
'no-loss-of-precision': [
|
|
@@ -958,10 +991,10 @@ exports[`eslint config verifies eslint rules are not updated silently 1`] = `
|
|
|
958
991
|
'@typescript-eslint/no-unnecessary-type-constraint': [
|
|
959
992
|
'error',
|
|
960
993
|
],
|
|
961
|
-
'@typescript-eslint/
|
|
994
|
+
'@typescript-eslint/no-unsafe-declaration-merging': [
|
|
962
995
|
'error',
|
|
963
996
|
],
|
|
964
|
-
'@typescript-eslint/prefer-
|
|
997
|
+
'@typescript-eslint/prefer-as-const': [
|
|
965
998
|
'error',
|
|
966
999
|
],
|
|
967
1000
|
'@typescript-eslint/triple-slash-reference': [
|
|
@@ -39,6 +39,7 @@ module.exports = {
|
|
|
39
39
|
'eslint:recommended',
|
|
40
40
|
'plugin:@typescript-eslint/recommended',
|
|
41
41
|
'plugin:@typescript-eslint/eslint-recommended',
|
|
42
|
+
'plugin:@typescript-eslint/stylistic',
|
|
42
43
|
'plugin:cypress/recommended',
|
|
43
44
|
'prettier',
|
|
44
45
|
],
|
|
@@ -265,6 +266,7 @@ module.exports = {
|
|
|
265
266
|
},
|
|
266
267
|
},
|
|
267
268
|
],
|
|
269
|
+
'@typescript-eslint/consistent-type-assertions': 'off',
|
|
268
270
|
// davinci
|
|
269
271
|
'@toptal/davinci/no-package-self-imports': 'error',
|
|
270
272
|
'@toptal/davinci/no-inline-css': 'error',
|