@vellone/techsak 1.2.6 → 1.2.8

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.
Files changed (3) hide show
  1. package/README.md +2 -4
  2. package/eslint.ts +2 -0
  3. package/package.json +5 -5
package/README.md CHANGED
@@ -21,12 +21,10 @@ include ./node_modules/@vellone/techsak/Makefile
21
21
  Run `make .editorconfig` to copy this project's `.editorconfig` to your project.
22
22
 
23
23
  ## Eslint Config
24
- Add the following code in your `.eslintrc.mts` to include this project's ESLint configuration:
24
+ Add the following code in your `eslint.config.mjs` to include this project's ESLint configuration:
25
25
 
26
26
  ```ts
27
- {
28
- export { default } from '@vellone/techsak/eslint'
29
- }
27
+ export { default } from '@vellone/techsak/eslint'
30
28
  ```
31
29
 
32
30
  ## TSConfig
package/eslint.ts CHANGED
@@ -23,9 +23,11 @@ export default antfu({
23
23
  'ts/no-deprecated': 'error',
24
24
 
25
25
  'ts/await-thenable': 'error',
26
+ 'ts/return-await': ['error', 'always'],
26
27
  },
27
28
  },
28
29
 
30
+ nextjs: true,
29
31
  react: true,
30
32
  jsx: true,
31
33
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vellone/techsak",
3
- "version": "1.2.6",
3
+ "version": "1.2.8",
4
4
  "description": "matheusvellone's personal tech sak (swiss army knife)",
5
5
  "author": "matheusvellone",
6
6
  "license": "MIT",
@@ -14,9 +14,9 @@
14
14
  "eslint"
15
15
  ],
16
16
  "dependencies": {
17
- "@antfu/eslint-config": "^4.19.0",
18
- "@eslint-react/eslint-plugin": "^1.52.3",
19
- "eslint": "^9.31.0",
20
- "eslint-plugin-react-refresh": "^0.4.20"
17
+ "@antfu/eslint-config": "^6.7.3",
18
+ "@eslint-react/eslint-plugin": "^2.4.0",
19
+ "eslint": "^9.39.2",
20
+ "eslint-plugin-react-refresh": "^0.4.26"
21
21
  }
22
22
  }