@simplysm/lint 14.0.4 → 14.0.5

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/README.md +20 -0
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -105,3 +105,23 @@ export default [
105
105
  },
106
106
  ];
107
107
  ```
108
+
109
+ ### Customize `ng-template-sd-require-binding-attrs` options
110
+
111
+ ```javascript
112
+ {
113
+ rules: {
114
+ "@simplysm/ng-template-sd-require-binding-attrs": ["error", {
115
+ selectorPrefixes: ["sd-", "app-"], // default: ["sd-"]
116
+ allowAttributes: ["id", "class", "style"], // default: ["id", "class", "style", "title", "tabindex", "role"]
117
+ allowAttributePrefixes: ["aria-", "data-"], // default: ["aria-", "data-", "sd-"]
118
+ }],
119
+ },
120
+ }
121
+ ```
122
+
123
+ ## Internal Utility
124
+
125
+ ### `createRule`
126
+
127
+ Factory function for creating ESLint rules. Wraps `@typescript-eslint/utils` `RuleCreator` with auto-generated documentation URLs. This utility is used internally by all rule implementations but is **not publicly exported** via package entrypoints.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@simplysm/lint",
3
- "version": "14.0.4",
3
+ "version": "14.0.5",
4
4
  "description": "심플리즘 패키지 - ESLint plugin",
5
5
  "author": "심플리즘",
6
6
  "license": "Apache-2.0",