@book000/eslint-config 1.7.150 → 1.8.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.
Files changed (2) hide show
  1. package/index.mjs +3 -0
  2. package/package.json +1 -1
package/index.mjs CHANGED
@@ -65,6 +65,9 @@ export default tseslint.config(
65
65
  ],
66
66
  // 名前空間として使用されるクラスを許可する
67
67
  "@typescript-eslint/no-extraneous-class": "off",
68
+ // 変数などの未定義使用について、TypeScript準拠とする
69
+ "no-use-before-define": "off",
70
+ "@typescript-eslint/no-use-before-define": "error",
68
71
  // トップレベルのawaitを許可する
69
72
  "unicorn/prefer-top-level-await": "off",
70
73
  // 省略形を許可する (dev -> development, prod -> productionなどの変換をさせない)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@book000/eslint-config",
3
- "version": "1.7.150",
3
+ "version": "1.8.0",
4
4
  "description": "ESLint config",
5
5
  "keywords": [
6
6
  "eslint-config"