@toptal/davinci-syntax 8.0.2 → 8.0.4-alpha-fx-2156-improve-build-performance.1302
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 +7 -0
- package/package.json +6 -5
- package/src/configs/.eslintrc +3 -1
- package/dist-package/package.json +0 -79
- package/src/__snapshots__/eslint.test.ts.snap +0 -1085
- package/src/eslint.test.ts +0 -263
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,12 @@
|
|
|
1
1
|
# Change Log
|
|
2
2
|
|
|
3
|
+
## 8.0.3
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#989](https://github.com/toptal/davinci/pull/989) [`10f7b1ae`](https://github.com/toptal/davinci/commit/10f7b1ae64d42f902e07f62de326e80588a8d1e2) Thanks [@LashaJini](https://github.com/LashaJini)! - Add eslint rule to warn users if they forgot to add a Jira ticket number to their TODO comments
|
|
8
|
+
ticket TODOs.
|
|
9
|
+
|
|
3
10
|
## 8.0.2
|
|
4
11
|
|
|
5
12
|
### Patch Changes
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@toptal/davinci-syntax",
|
|
3
|
-
"version": "8.0.
|
|
3
|
+
"version": "8.0.4-alpha-fx-2156-improve-build-performance.1302+4dbc440",
|
|
4
4
|
"description": "Lint and prettier support",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public"
|
|
@@ -30,8 +30,8 @@
|
|
|
30
30
|
"url": "https://github.com/toptal/davinci/issues"
|
|
31
31
|
},
|
|
32
32
|
"dependencies": {
|
|
33
|
-
"@toptal/davinci-cli-shared": "
|
|
34
|
-
"@toptal/eslint-plugin-davinci": "
|
|
33
|
+
"@toptal/davinci-cli-shared": "1.4.2-alpha-fx-2156-improve-build-performance.1302+4dbc440",
|
|
34
|
+
"@toptal/eslint-plugin-davinci": "2.1.2-alpha-fx-2156-improve-build-performance.1302+4dbc440",
|
|
35
35
|
"@typescript-eslint/eslint-plugin": "^4.17.0",
|
|
36
36
|
"@typescript-eslint/parser": "^4.28.3",
|
|
37
37
|
"eslint": "^7.29.0",
|
|
@@ -54,7 +54,7 @@
|
|
|
54
54
|
"lint-staged": "^10.5.4",
|
|
55
55
|
"prettier": "^2.3.2",
|
|
56
56
|
"prettier-config-standard": "^4.0.0",
|
|
57
|
-
"stylelint": "^
|
|
57
|
+
"stylelint": "^14.0.0",
|
|
58
58
|
"stylelint-config-standard": "^20.0.0",
|
|
59
59
|
"stylelint-config-styled-components": "^0.1.1",
|
|
60
60
|
"stylelint-processor-styled-components": "^1.10.0"
|
|
@@ -75,5 +75,6 @@
|
|
|
75
75
|
"npm run lint:path",
|
|
76
76
|
"prettier"
|
|
77
77
|
]
|
|
78
|
-
}
|
|
78
|
+
},
|
|
79
|
+
"gitHead": "4dbc440ef664502a9b5c91a33fe52a5602bd8a97"
|
|
79
80
|
}
|
package/src/configs/.eslintrc
CHANGED
|
@@ -14,6 +14,7 @@
|
|
|
14
14
|
"jest",
|
|
15
15
|
"cypress",
|
|
16
16
|
"eslint-plugin-no-inline-styles",
|
|
17
|
+
"todo-plz",
|
|
17
18
|
"import",
|
|
18
19
|
"node"
|
|
19
20
|
],
|
|
@@ -294,7 +295,8 @@
|
|
|
294
295
|
"func-style": ["error", "expression"],
|
|
295
296
|
// TODO: should be switched to error in the next major version (5.x) of syntax package
|
|
296
297
|
"no-inline-styles/no-inline-styles": "warn",
|
|
297
|
-
"curly": ["error", "all"]
|
|
298
|
+
"curly": ["error", "all"],
|
|
299
|
+
"todo-plz/ticket-ref": ["warn", { "commentPattern": "TODO:\\s(.|\\n|\\r)*\\[(\\w+-[0-9]+[,\\s]*)+\\].*" }]
|
|
298
300
|
},
|
|
299
301
|
"overrides": [
|
|
300
302
|
// Aggregated Jest/Pact/Cypress files
|
|
@@ -1,79 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "@toptal/davinci-syntax",
|
|
3
|
-
"version": "8.0.2",
|
|
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
|
-
"@toptal/davinci-cli-shared": "^1.3.4",
|
|
34
|
-
"@toptal/eslint-plugin-davinci": "^2.1.1",
|
|
35
|
-
"@typescript-eslint/eslint-plugin": "^4.17.0",
|
|
36
|
-
"@typescript-eslint/parser": "^4.28.3",
|
|
37
|
-
"eslint": "^7.29.0",
|
|
38
|
-
"eslint-config-prettier": "^8.3.0",
|
|
39
|
-
"eslint-config-prettier-standard": "^4.0.1",
|
|
40
|
-
"eslint-config-standard": "^16.0.3",
|
|
41
|
-
"eslint-config-standard-jsx": "^10.0.0",
|
|
42
|
-
"eslint-plugin-cypress": "^2.12.1",
|
|
43
|
-
"eslint-plugin-import": "^2.25.2",
|
|
44
|
-
"eslint-plugin-jest": "^24.1.5",
|
|
45
|
-
"eslint-plugin-jest-formatting": "^3.0.0",
|
|
46
|
-
"eslint-plugin-no-inline-styles": "^1.0.5",
|
|
47
|
-
"eslint-plugin-node": "^11.1.0",
|
|
48
|
-
"eslint-plugin-prettier": "^4.0.0",
|
|
49
|
-
"eslint-plugin-promise": "^5.1.0",
|
|
50
|
-
"eslint-plugin-react": "^7.24.0",
|
|
51
|
-
"eslint-plugin-react-hooks": "^4.2.0",
|
|
52
|
-
"eslint-plugin-todo-plz": "^1.2.0",
|
|
53
|
-
"husky": "^4.3.0",
|
|
54
|
-
"lint-staged": "^10.5.4",
|
|
55
|
-
"prettier": "^2.3.2",
|
|
56
|
-
"prettier-config-standard": "^4.0.0",
|
|
57
|
-
"stylelint": "^13.10.0",
|
|
58
|
-
"stylelint-config-standard": "^20.0.0",
|
|
59
|
-
"stylelint-config-styled-components": "^0.1.1",
|
|
60
|
-
"stylelint-processor-styled-components": "^1.10.0"
|
|
61
|
-
},
|
|
62
|
-
"devDependencies": {
|
|
63
|
-
"json5": "^2.2.0"
|
|
64
|
-
},
|
|
65
|
-
"peerDependencies": {
|
|
66
|
-
"typescript": "^3 || ^4"
|
|
67
|
-
},
|
|
68
|
-
"husky": {
|
|
69
|
-
"hooks": {
|
|
70
|
-
"pre-commit": "lint-staged"
|
|
71
|
-
}
|
|
72
|
-
},
|
|
73
|
-
"lint-staged": {
|
|
74
|
-
"*.{js,jsx,ts,tsx}": [
|
|
75
|
-
"npm run lint:path",
|
|
76
|
-
"prettier"
|
|
77
|
-
]
|
|
78
|
-
}
|
|
79
|
-
}
|