@toptal/davinci-syntax 16.1.3 → 16.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 +13 -0
- package/README.md +0 -6
- package/dist-package/package.json +3 -3
- package/docs/lint-dirs.md +1 -1
- package/package.json +3 -3
- package/src/configs/.eslintrc.js +7 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,18 @@
|
|
|
1
1
|
# Change Log
|
|
2
2
|
|
|
3
|
+
## 16.2.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- [#1564](https://github.com/toptal/davinci/pull/1564) [`12e452f8`](https://github.com/toptal/davinci/commit/12e452f85f7c449b3f1519bc2a4aa22893eb0e95) Thanks [@OndrejTuma](https://github.com/OndrejTuma)! - ---
|
|
8
|
+
|
|
9
|
+
- validate changeset files using [@toptal/davinci/consistent-changesets](https://github.com/toptal/davinci/blob/master/packages/eslint-plugin/README.md#toptaldavinciconsistent-changesets) rule
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- Updated dependencies [[`12e452f8`](https://github.com/toptal/davinci/commit/12e452f85f7c449b3f1519bc2a4aa22893eb0e95)]:
|
|
14
|
+
- @toptal/eslint-plugin-davinci@5.4.0
|
|
15
|
+
|
|
3
16
|
## 16.1.3
|
|
4
17
|
|
|
5
18
|
### Patch Changes
|
package/README.md
CHANGED
|
@@ -12,12 +12,6 @@ Use it by installing `yarn add @toptal/davinci-syntax` in your project.
|
|
|
12
12
|
- [`lint styles`](./docs/lint-styles.md): lint the project CSS and styled components
|
|
13
13
|
- [`lint dirs`](./docs/lint-dirs.md): lint the project file structure
|
|
14
14
|
|
|
15
|
-
#### Alias
|
|
16
|
-
|
|
17
|
-
You can use davinci syntax both as a standalone command `davinci-syntax [...args]`
|
|
18
|
-
or as a sub-command of the davinci command: `davinci syntax [args...]`, in this case @toptal/davinci package is required.
|
|
19
|
-
Recommended way is to use individual davinci packages, i.e. `davinci-syntax unit`.
|
|
20
|
-
|
|
21
15
|
### IDE Tooling
|
|
22
16
|
|
|
23
17
|
This package can be used directly in your IDE through these extensions
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@toptal/davinci-syntax",
|
|
3
|
-
"version": "16.
|
|
3
|
+
"version": "16.2.0",
|
|
4
4
|
"description": "Lint and prettier support",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public"
|
|
@@ -30,10 +30,10 @@
|
|
|
30
30
|
"url": "https://github.com/toptal/davinci/issues"
|
|
31
31
|
},
|
|
32
32
|
"dependencies": {
|
|
33
|
-
"@stylelint/postcss-css-in-js": "^0.
|
|
33
|
+
"@stylelint/postcss-css-in-js": "^0.38.0",
|
|
34
34
|
"@toptal/davinci-cli-shared": "1.7.0",
|
|
35
35
|
"@toptal/davinci-dir-lint": "^0.2.1",
|
|
36
|
-
"@toptal/eslint-plugin-davinci": "5.
|
|
36
|
+
"@toptal/eslint-plugin-davinci": "5.4.0",
|
|
37
37
|
"@typescript-eslint/eslint-plugin": "^5.19.0",
|
|
38
38
|
"@typescript-eslint/parser": "^5.30.7",
|
|
39
39
|
"eslint": "^8.19.0",
|
package/docs/lint-dirs.md
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@toptal/davinci-syntax",
|
|
3
|
-
"version": "16.
|
|
3
|
+
"version": "16.2.0",
|
|
4
4
|
"description": "Lint and prettier support",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public"
|
|
@@ -30,10 +30,10 @@
|
|
|
30
30
|
"url": "https://github.com/toptal/davinci/issues"
|
|
31
31
|
},
|
|
32
32
|
"dependencies": {
|
|
33
|
-
"@stylelint/postcss-css-in-js": "^0.
|
|
33
|
+
"@stylelint/postcss-css-in-js": "^0.38.0",
|
|
34
34
|
"@toptal/davinci-cli-shared": "1.7.0",
|
|
35
35
|
"@toptal/davinci-dir-lint": "^0.2.1",
|
|
36
|
-
"@toptal/eslint-plugin-davinci": "5.
|
|
36
|
+
"@toptal/eslint-plugin-davinci": "5.4.0",
|
|
37
37
|
"@typescript-eslint/eslint-plugin": "^5.19.0",
|
|
38
38
|
"@typescript-eslint/parser": "^5.30.7",
|
|
39
39
|
"eslint": "^8.19.0",
|
package/src/configs/.eslintrc.js
CHANGED
|
@@ -393,6 +393,13 @@ module.exports = {
|
|
|
393
393
|
],
|
|
394
394
|
},
|
|
395
395
|
},
|
|
396
|
+
{
|
|
397
|
+
files: ['.changeset/*.md'],
|
|
398
|
+
parser: 'eslint-plugin-markdownlint/parser',
|
|
399
|
+
rules: {
|
|
400
|
+
'@toptal/davinci/consistent-changesets': 'error',
|
|
401
|
+
},
|
|
402
|
+
},
|
|
396
403
|
],
|
|
397
404
|
env: {
|
|
398
405
|
jest: jestExists,
|