@toptal/davinci-syntax 11.0.2-alpha-fx-2279-replace-react-hot-loader-with-fast-refresh.1347 → 11.1.1
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 +18 -0
- package/dist-package/package.json +82 -0
- package/package.json +5 -5
- package/src/__tests__/__snapshots__/eslint.test.ts.snap +1105 -0
- package/src/__tests__/eslint-package-structure/bar.js +2 -0
- package/src/__tests__/eslint-package-structure/package/index.js +1 -0
- package/src/__tests__/eslint-package-structure/package/package.json +4 -0
- package/src/__tests__/eslint-package-structure/package-named/index.js +1 -0
- package/src/__tests__/eslint-package-structure/package-named/package.json +5 -0
- package/src/__tests__/eslint-package-structure/package-scoped/index.js +1 -0
- package/src/__tests__/eslint-package-structure/package-scoped/package.json +5 -0
- package/src/__tests__/eslint.test.ts +322 -0
- package/src/__tests__/no-relative-packages.test.js +102 -0
- package/src/configs/.eslintrc +4 -1
- package/src/configs/.stylelintrc +2 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,23 @@
|
|
|
1
1
|
# Change Log
|
|
2
2
|
|
|
3
|
+
## 11.1.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#1085](https://github.com/toptal/davinci/pull/1085) [`c53f046e`](https://github.com/toptal/davinci/commit/c53f046e189da499fd7d7cfbea901405e1c80f9a) Thanks [@LashaJini](https://github.com/LashaJini)! - Add eslint rule to auto-remove unused imports.
|
|
8
|
+
|
|
9
|
+
## 11.1.0
|
|
10
|
+
|
|
11
|
+
### Minor Changes
|
|
12
|
+
|
|
13
|
+
- [#1072](https://github.com/toptal/davinci/pull/1072) [`0b93a80c`](https://github.com/toptal/davinci/commit/0b93a80c005d723503cb9dd3520505a450dc0d0b) Thanks [@MrBra1nwash](https://github.com/MrBra1nwash)! - [SP-1771] Add import/no-relative-packages rule
|
|
14
|
+
|
|
15
|
+
## 11.0.2
|
|
16
|
+
|
|
17
|
+
### Patch Changes
|
|
18
|
+
|
|
19
|
+
- [#1073](https://github.com/toptal/davinci/pull/1073) [`33a4dbbb`](https://github.com/toptal/davinci/commit/33a4dbbba010af7d5c8712dd7ce65f9e0bcafb13) Thanks [@denieler](https://github.com/denieler)! - Disable `no-empty-first-line` rule due to issues with weird looking styles for styled components styles.
|
|
20
|
+
|
|
3
21
|
## 11.0.1
|
|
4
22
|
|
|
5
23
|
### Patch Changes
|
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@toptal/davinci-syntax",
|
|
3
|
+
"version": "11.1.1",
|
|
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.0",
|
|
35
|
+
"@toptal/eslint-plugin-davinci": "^4.0.0",
|
|
36
|
+
"@typescript-eslint/eslint-plugin": "^4.17.0",
|
|
37
|
+
"@typescript-eslint/parser": "^4.28.3",
|
|
38
|
+
"eslint": "^7.29.0",
|
|
39
|
+
"eslint-config-prettier": "^8.3.0",
|
|
40
|
+
"eslint-config-prettier-standard": "^4.0.1",
|
|
41
|
+
"eslint-config-standard": "^16.0.3",
|
|
42
|
+
"eslint-config-standard-jsx": "^10.0.0",
|
|
43
|
+
"eslint-plugin-cypress": "^2.12.1",
|
|
44
|
+
"eslint-plugin-import": "^2.25.2",
|
|
45
|
+
"eslint-plugin-jest": "^24.1.5",
|
|
46
|
+
"eslint-plugin-jest-formatting": "^3.0.0",
|
|
47
|
+
"eslint-plugin-no-inline-styles": "^1.0.5",
|
|
48
|
+
"eslint-plugin-node": "^11.1.0",
|
|
49
|
+
"eslint-plugin-prettier": "^4.0.0",
|
|
50
|
+
"eslint-plugin-promise": "^5.1.0",
|
|
51
|
+
"eslint-plugin-react": "^7.27.1",
|
|
52
|
+
"eslint-plugin-react-hooks": "^4.2.0",
|
|
53
|
+
"eslint-plugin-todo-plz": "^1.2.0",
|
|
54
|
+
"eslint-plugin-unused-imports": "1.1.5",
|
|
55
|
+
"husky": "^4.3.0",
|
|
56
|
+
"lint-staged": "^10.5.4",
|
|
57
|
+
"postcss-syntax": "^0.36.2",
|
|
58
|
+
"prettier": "^2.3.2",
|
|
59
|
+
"prettier-config-standard": "^4.0.0",
|
|
60
|
+
"stylelint": "^14.1.0",
|
|
61
|
+
"stylelint-config-standard": "^24.0.0",
|
|
62
|
+
"stylelint-config-styled-components": "^0.1.1",
|
|
63
|
+
"stylelint-processor-styled-components": "^1.10.0"
|
|
64
|
+
},
|
|
65
|
+
"devDependencies": {
|
|
66
|
+
"json5": "^2.2.0"
|
|
67
|
+
},
|
|
68
|
+
"peerDependencies": {
|
|
69
|
+
"typescript": "^3 || ^4"
|
|
70
|
+
},
|
|
71
|
+
"husky": {
|
|
72
|
+
"hooks": {
|
|
73
|
+
"pre-commit": "lint-staged"
|
|
74
|
+
}
|
|
75
|
+
},
|
|
76
|
+
"lint-staged": {
|
|
77
|
+
"*.{js,jsx,ts,tsx}": [
|
|
78
|
+
"npm run lint:path",
|
|
79
|
+
"prettier"
|
|
80
|
+
]
|
|
81
|
+
}
|
|
82
|
+
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@toptal/davinci-syntax",
|
|
3
|
-
"version": "11.
|
|
3
|
+
"version": "11.1.1",
|
|
4
4
|
"description": "Lint and prettier support",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public"
|
|
@@ -31,8 +31,8 @@
|
|
|
31
31
|
},
|
|
32
32
|
"dependencies": {
|
|
33
33
|
"@stylelint/postcss-css-in-js": "^0.37.2",
|
|
34
|
-
"@toptal/davinci-cli-shared": "1.5.
|
|
35
|
-
"@toptal/eslint-plugin-davinci": "4.0.
|
|
34
|
+
"@toptal/davinci-cli-shared": "^1.5.0",
|
|
35
|
+
"@toptal/eslint-plugin-davinci": "^4.0.0",
|
|
36
36
|
"@typescript-eslint/eslint-plugin": "^4.17.0",
|
|
37
37
|
"@typescript-eslint/parser": "^4.28.3",
|
|
38
38
|
"eslint": "^7.29.0",
|
|
@@ -51,6 +51,7 @@
|
|
|
51
51
|
"eslint-plugin-react": "^7.27.1",
|
|
52
52
|
"eslint-plugin-react-hooks": "^4.2.0",
|
|
53
53
|
"eslint-plugin-todo-plz": "^1.2.0",
|
|
54
|
+
"eslint-plugin-unused-imports": "1.1.5",
|
|
54
55
|
"husky": "^4.3.0",
|
|
55
56
|
"lint-staged": "^10.5.4",
|
|
56
57
|
"postcss-syntax": "^0.36.2",
|
|
@@ -77,6 +78,5 @@
|
|
|
77
78
|
"npm run lint:path",
|
|
78
79
|
"prettier"
|
|
79
80
|
]
|
|
80
|
-
}
|
|
81
|
-
"gitHead": "8585b287ba774782c2d4fd77dcebd06b74ff5505"
|
|
81
|
+
}
|
|
82
82
|
}
|