@simplysm/eslint-plugin 13.0.0-beta.21 → 13.0.0-beta.23
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/README.md +3 -3
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -218,9 +218,9 @@ It warns even if only creating without throwing. Auto-fix is not supported.
|
|
|
218
218
|
```typescript
|
|
219
219
|
import { NotImplementedError } from "@simplysm/core-common";
|
|
220
220
|
|
|
221
|
-
throw new NotImplementedError();
|
|
221
|
+
throw new NotImplementedError(); // Warning: "미구현" (default message)
|
|
222
222
|
throw new NotImplementedError("Feature X"); // Warning: "Feature X"
|
|
223
|
-
const err = new NotImplementedError();
|
|
223
|
+
const err = new NotImplementedError(); // Warning: "미구현" (default message)
|
|
224
224
|
```
|
|
225
225
|
|
|
226
226
|
**Aliased imports are also detected:**
|
|
@@ -241,7 +241,7 @@ throw new CC.NotImplementedError(); // Warning
|
|
|
241
241
|
|
|
242
242
|
**Message display rules:**
|
|
243
243
|
|
|
244
|
-
- Calling `new NotImplementedError()` without arguments outputs a warning message "
|
|
244
|
+
- Calling `new NotImplementedError()` without arguments outputs a warning with the Korean default message "미구현".
|
|
245
245
|
- If a string argument is passed, that string is used as the warning message.
|
|
246
246
|
|
|
247
247
|
---
|