@vellone/techsak 1.1.4 → 1.1.6

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/eslint.config.mjs CHANGED
@@ -67,10 +67,10 @@ export default tseslint.config(
67
67
  // Queria na verdade configurar que 'ou é tudo em uma linha ou é tudo em várias linhas', mas não consegui.
68
68
  // Esse foi o mais próximo disso que consegui
69
69
  'object-curly-newline': ['error', {
70
- ObjectExpression: { multiline: true, minProperties: 5, consistent: true },
71
- ObjectPattern: { multiline: true, minProperties: 5, consistent: true },
70
+ ObjectExpression: { multiline: true, minProperties: 5, consistent: true },
71
+ ObjectPattern: { multiline: true, minProperties: 5, consistent: true },
72
72
  ImportDeclaration: { multiline: true, minProperties: 50, consistent: true },
73
- ExportDeclaration: { multiline: true, minProperties: 5, consistent: true },
73
+ ExportDeclaration: { multiline: true, minProperties: 5, consistent: true },
74
74
  }],
75
75
  'object-property-newline': ['error', {
76
76
  allowAllPropertiesOnSameLine: true,
@@ -136,6 +136,14 @@ export default tseslint.config(
136
136
  '@typescript-eslint/no-empty-object-type': 'error',
137
137
  '@typescript-eslint/no-explicit-any': 'error',
138
138
  '@typescript-eslint/no-floating-promises': 'error',
139
+ '@typescript-eslint/no-misused-promises': [
140
+ 'error',
141
+ {
142
+ 'checksVoidReturn': {
143
+ 'attributes': false
144
+ }
145
+ }
146
+ ],
139
147
  '@typescript-eslint/no-inferrable-types': 'error',
140
148
  'no-loop-func': 'off',
141
149
  '@typescript-eslint/no-loop-func': 'error',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vellone/techsak",
3
- "version": "1.1.4",
3
+ "version": "1.1.6",
4
4
  "description": "matheusvellone's personal tech sak (swiss army knife)",
5
5
  "keywords": [],
6
6
  "author": "matheusvellone",
package/tsconfig.json CHANGED
@@ -7,7 +7,7 @@
7
7
  "exactOptionalPropertyTypes": false,
8
8
  "noImplicitOverride": true,
9
9
  "noImplicitReturns": true,
10
- "noPropertyAccessFromIndexSignature": true,
10
+ "noPropertyAccessFromIndexSignature": false,
11
11
  "noUncheckedIndexedAccess": true,
12
12
  "noUnusedLocals": true,
13
13
  "noUnusedParameters": true,