@daldalso/eslint-plugin 1.2.3 → 1.2.4
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/dist/rules/sort-keys.js +3 -0
- package/package.json +1 -1
package/dist/rules/sort-keys.js
CHANGED
|
@@ -324,6 +324,9 @@ function getScore(node) {
|
|
|
324
324
|
case "private":
|
|
325
325
|
accessModifierScore = 1 /* ScoreValue.PRIVATE */;
|
|
326
326
|
break;
|
|
327
|
+
case undefined:
|
|
328
|
+
accessModifierScore = 4 /* ScoreValue.IMPLICITLY_PUBLIC */;
|
|
329
|
+
break;
|
|
327
330
|
default: throw Error("Unhandled accessibility: ".concat(node.accessibility));
|
|
328
331
|
}
|
|
329
332
|
else
|