@toptal/davinci-syntax 13.1.3-alpha-bump-react-refresh-webpack-plugin.2 → 13.2.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 +12 -0
- package/dist-package/package.json +72 -0
- package/package.json +5 -6
- package/src/__tests__/__snapshots__/eslint.test.ts.snap +1141 -0
- package/src/__tests__/eslint.test.ts +346 -0
- package/src/__tests__/no-relative-packages.test.js +106 -0
- package/src/configs/.eslintrc +1 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,17 @@
|
|
|
1
1
|
# Change Log
|
|
2
2
|
|
|
3
|
+
## 13.2.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- [#1291](https://github.com/toptal/davinci/pull/1291) [`470dfea4`](https://github.com/toptal/davinci/commit/470dfea4b7c873974747faa4dcce7d4c81fdc558) Thanks [@MrBra1nwash](https://github.com/MrBra1nwash)! - Add an eslint rule `@toptal/davinci/no-package-self-imports` to prevent
|
|
8
|
+
packages from importing themselves using absolute paths.
|
|
9
|
+
|
|
10
|
+
### Patch Changes
|
|
11
|
+
|
|
12
|
+
- Updated dependencies [[`470dfea4`](https://github.com/toptal/davinci/commit/470dfea4b7c873974747faa4dcce7d4c81fdc558)]:
|
|
13
|
+
- @toptal/eslint-plugin-davinci@5.1.0
|
|
14
|
+
|
|
3
15
|
## 13.1.2
|
|
4
16
|
|
|
5
17
|
### Patch Changes
|
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@toptal/davinci-syntax",
|
|
3
|
+
"version": "13.2.0",
|
|
4
|
+
"description": "Lint and prettier support",
|
|
5
|
+
"publishConfig": {
|
|
6
|
+
"access": "public"
|
|
7
|
+
},
|
|
8
|
+
"keywords": [
|
|
9
|
+
"lint"
|
|
10
|
+
],
|
|
11
|
+
"author": "Toptal",
|
|
12
|
+
"homepage": "https://github.com/toptal/davinci/tree/master/packages/syntax#readme",
|
|
13
|
+
"license": "ISC",
|
|
14
|
+
"main": "src/index.js",
|
|
15
|
+
"bin": {
|
|
16
|
+
"davinci-syntax": "bin/davinci-syntax.js"
|
|
17
|
+
},
|
|
18
|
+
"repository": {
|
|
19
|
+
"type": "git",
|
|
20
|
+
"url": "git+https://github.com/toptal/davinci.git"
|
|
21
|
+
},
|
|
22
|
+
"scripts": {
|
|
23
|
+
"build:package": "../../bin/build-package.js",
|
|
24
|
+
"prepublishOnly": "../../bin/prepublish.js",
|
|
25
|
+
"lint:path": "eslint --ext=.js,.jsx,.ts,.tsx --color --fix",
|
|
26
|
+
"lint": "yarn run lint:path .",
|
|
27
|
+
"test": "echo \"Error: run tests from root\" && exit 1"
|
|
28
|
+
},
|
|
29
|
+
"bugs": {
|
|
30
|
+
"url": "https://github.com/toptal/davinci/issues"
|
|
31
|
+
},
|
|
32
|
+
"dependencies": {
|
|
33
|
+
"@stylelint/postcss-css-in-js": "^0.37.2",
|
|
34
|
+
"@toptal/davinci-cli-shared": "1.5.1",
|
|
35
|
+
"@toptal/davinci-dir-lint": "^0.1.0",
|
|
36
|
+
"@toptal/eslint-plugin-davinci": "5.1.0",
|
|
37
|
+
"@typescript-eslint/eslint-plugin": "^5.19.0",
|
|
38
|
+
"@typescript-eslint/parser": "^5.19.0",
|
|
39
|
+
"eslint": "^8.13.0",
|
|
40
|
+
"eslint-config-prettier": "^8.5.0",
|
|
41
|
+
"eslint-config-prettier-standard": "^4.0.1",
|
|
42
|
+
"eslint-config-standard": "^16.0.3",
|
|
43
|
+
"eslint-config-standard-jsx": "^10.0.0",
|
|
44
|
+
"eslint-plugin-cypress": "^2.12.1",
|
|
45
|
+
"eslint-plugin-import": "^2.26.0",
|
|
46
|
+
"eslint-plugin-jest": "^26.1.4",
|
|
47
|
+
"eslint-plugin-jest-formatting": "^3.1.0",
|
|
48
|
+
"eslint-plugin-no-inline-styles": "^1.0.5",
|
|
49
|
+
"eslint-plugin-node": "^11.1.0",
|
|
50
|
+
"eslint-plugin-prettier": "^4.0.0",
|
|
51
|
+
"eslint-plugin-promise": "^6.0.0",
|
|
52
|
+
"eslint-plugin-react": "^7.29.4",
|
|
53
|
+
"eslint-plugin-react-hooks": "^4.4.0",
|
|
54
|
+
"eslint-plugin-todo-plz": "^1.2.1",
|
|
55
|
+
"eslint-plugin-unused-imports": "2.0.0",
|
|
56
|
+
"husky": "^7.0.4",
|
|
57
|
+
"lint-staged": "^12.4.1",
|
|
58
|
+
"postcss-syntax": "^0.36.2",
|
|
59
|
+
"prettier": "^2.3.2",
|
|
60
|
+
"prettier-config-standard": "^4.0.0",
|
|
61
|
+
"stylelint": "^14.1.0",
|
|
62
|
+
"stylelint-config-standard": "^24.0.0",
|
|
63
|
+
"stylelint-config-styled-components": "^0.1.1",
|
|
64
|
+
"stylelint-processor-styled-components": "^1.10.0"
|
|
65
|
+
},
|
|
66
|
+
"devDependencies": {
|
|
67
|
+
"json5": "^2.2.0"
|
|
68
|
+
},
|
|
69
|
+
"peerDependencies": {
|
|
70
|
+
"typescript": "^3 || ^4"
|
|
71
|
+
}
|
|
72
|
+
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@toptal/davinci-syntax",
|
|
3
|
-
"version": "13.
|
|
3
|
+
"version": "13.2.0",
|
|
4
4
|
"description": "Lint and prettier support",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public"
|
|
@@ -31,9 +31,9 @@
|
|
|
31
31
|
},
|
|
32
32
|
"dependencies": {
|
|
33
33
|
"@stylelint/postcss-css-in-js": "^0.37.2",
|
|
34
|
-
"@toptal/davinci-cli-shared": "1.5.
|
|
35
|
-
"@toptal/davinci-dir-lint": "0.1.
|
|
36
|
-
"@toptal/eslint-plugin-davinci": "5.0
|
|
34
|
+
"@toptal/davinci-cli-shared": "1.5.1",
|
|
35
|
+
"@toptal/davinci-dir-lint": "^0.1.0",
|
|
36
|
+
"@toptal/eslint-plugin-davinci": "5.1.0",
|
|
37
37
|
"@typescript-eslint/eslint-plugin": "^5.19.0",
|
|
38
38
|
"@typescript-eslint/parser": "^5.19.0",
|
|
39
39
|
"eslint": "^8.13.0",
|
|
@@ -68,6 +68,5 @@
|
|
|
68
68
|
},
|
|
69
69
|
"peerDependencies": {
|
|
70
70
|
"typescript": "^3 || ^4"
|
|
71
|
-
}
|
|
72
|
-
"gitHead": "3e52b104825a87d0ccc760233c2b0fb2c666fff1"
|
|
71
|
+
}
|
|
73
72
|
}
|