@toptal/davinci-syntax 10.0.0 → 11.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,21 @@
1
1
  # Change Log
2
2
 
3
+ ## 11.0.0
4
+
5
+ ### Major Changes
6
+
7
+ - [#1051](https://github.com/toptal/davinci/pull/1051) [`1882322f`](https://github.com/toptal/davinci/commit/1882322f2f43fdf2cd3365bd2b87205ac61469ba) Thanks [@teimurjan](https://github.com/teimurjan)! - Added the consistent component props types eslint rule.
8
+
9
+ ### Minor Changes
10
+
11
+ - [#1047](https://github.com/toptal/davinci/pull/1047) [`850d14f9`](https://github.com/toptal/davinci/commit/850d14f9574d6b32abe6425e3f3248afb1d2e0b4) Thanks [@dmaklygin1](https://github.com/dmaklygin1)! - Remove npx package
12
+
13
+ ### Patch Changes
14
+
15
+ - Updated dependencies [[`850d14f9`](https://github.com/toptal/davinci/commit/850d14f9574d6b32abe6425e3f3248afb1d2e0b4), [`522b7c64`](https://github.com/toptal/davinci/commit/522b7c642d6a1b90fcccfa98bb3c3cb5fd0d5533), [`1882322f`](https://github.com/toptal/davinci/commit/1882322f2f43fdf2cd3365bd2b87205ac61469ba)]:
16
+ - @toptal/davinci-cli-shared@1.5.0
17
+ - @toptal/eslint-plugin-davinci@4.0.0
18
+
3
19
  ## 10.0.0
4
20
 
5
21
  ### Major Changes
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@toptal/davinci-syntax",
3
- "version": "10.0.0",
3
+ "version": "11.0.0",
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.3.4",
35
- "@toptal/eslint-plugin-davinci": "^3.0.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",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@toptal/davinci-syntax",
3
- "version": "10.0.0",
3
+ "version": "11.0.0",
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.3.4",
35
- "@toptal/eslint-plugin-davinci": "^3.0.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",
@@ -290,6 +290,9 @@ exports[`eslint config verifies eslint rules are not updated silently 1`] = `
290
290
  '@toptal/davinci/consistent-data-testid': [
291
291
  'warn',
292
292
  ],
293
+ '@toptal/davinci/consistent-component-props-types': [
294
+ 'warn',
295
+ ],
293
296
  complexity: [
294
297
  'warn',
295
298
  {
@@ -17,7 +17,7 @@ const lintCodeCommand = ({ paths, options }) => {
17
17
  const { check, ...restOptions } = options
18
18
 
19
19
  runSync(
20
- 'npx',
20
+ 'yarn',
21
21
  [
22
22
  'eslint',
23
23
  '--ext=.js,.jsx,.ts,.tsx',
@@ -10,7 +10,7 @@ const lintStylesCommand = dir => {
10
10
  const hasExtension = path.extname(dir)
11
11
 
12
12
  runSync(
13
- 'npx',
13
+ 'yarn',
14
14
  [
15
15
  'stylelint',
16
16
  '--allow-empty-input',
@@ -244,6 +244,8 @@
244
244
  "@toptal/davinci/no-private-package-imports": "error",
245
245
  // TODO: https://toptal-core.atlassian.net/browse/FX-2259 (due on the 20th of January)
246
246
  "@toptal/davinci/consistent-data-testid": "warn",
247
+ // TODO: https://toptal-core.atlassian.net/browse/FX-2281 (due on the 20th of January)
248
+ "@toptal/davinci/consistent-component-props-types": "warn",
247
249
  /**
248
250
  * COMPLEXITY
249
251
  * Ensure small functions and no nested/callback hell.