@book000/eslint-config 1.7.150 → 1.8.1
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/index.mjs +3 -0
- 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などの変換をさせない)
|