@aquera/nile-lint 0.1.0 → 0.1.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/README.md +4 -0
- package/lib/markup-rules.js +1 -1
- package/manifest.json +12 -3
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -218,6 +218,10 @@ master never blocks other packages' releases; ship it to apps with a nile-lint p
|
|
|
218
218
|
|
|
219
219
|
In this section, you can find the updates for each release of `nile-lint`. It's a good practice to maintain detailed release notes to help users and developers understand what changes have been made from one version to another and how these changes might affect their projects.
|
|
220
220
|
|
|
221
|
+
#### Version 0.1.1 (November 6, 2026)
|
|
222
|
+
|
|
223
|
+
- Nile Lint: Manifest rebuilt for nile-elements 2.0.21. `size` on `<nile-button>` is now a real attribute (`sm`, `md`, `lg`, `xl`), so it is no longer reported as an internal `@state()` that does nothing; other values such as `small` or `large` are reported by `valid-attribute-values` (UIF-1410).
|
|
224
|
+
|
|
221
225
|
#### Version 0.1.0 (November 04, 2026)
|
|
222
226
|
|
|
223
227
|
- Initial release of the `@aquera/nile-lint` package: an agent-first linter that checks markup and styles against a manifest generated from this monorepo (nile-elements 2.0.20, nile 1.3.5, nile-glyph 1.0.9; 296 elements) (UIF-1407).
|
package/lib/markup-rules.js
CHANGED
|
@@ -443,7 +443,7 @@ function lintElement(el, ctx) {
|
|
|
443
443
|
|
|
444
444
|
/** "help-text" → "helptext": the classic Lit attribute mistake. */
|
|
445
445
|
/**
|
|
446
|
-
* "<nile-button> has no attribute "
|
|
446
|
+
* "<nile-button> has no attribute "invalid"." plus the most useful next step: the internal-state
|
|
447
447
|
* explanation, a single "did you mean", or a short list of what does exist.
|
|
448
448
|
*/
|
|
449
449
|
function unknownMember(tag, def, name, kind, guess, known) {
|
package/manifest.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"note": "GENERATED by scripts/build-manifest.js — do not edit by hand.",
|
|
3
3
|
"versions": {
|
|
4
4
|
"@aquera/nile": "1.3.5",
|
|
5
|
-
"@aquera/nile-elements": "2.0.
|
|
5
|
+
"@aquera/nile-elements": "2.0.21",
|
|
6
6
|
"@aquera/nile-glyph": "1.0.9"
|
|
7
7
|
},
|
|
8
8
|
"sources": [
|
|
@@ -4821,6 +4821,16 @@
|
|
|
4821
4821
|
"type": "string",
|
|
4822
4822
|
"property": "rel"
|
|
4823
4823
|
},
|
|
4824
|
+
"size": {
|
|
4825
|
+
"type": "enum",
|
|
4826
|
+
"values": [
|
|
4827
|
+
"sm",
|
|
4828
|
+
"md",
|
|
4829
|
+
"lg",
|
|
4830
|
+
"xl"
|
|
4831
|
+
],
|
|
4832
|
+
"property": "size"
|
|
4833
|
+
},
|
|
4824
4834
|
"target": {
|
|
4825
4835
|
"type": "enum",
|
|
4826
4836
|
"values": [
|
|
@@ -4910,8 +4920,7 @@
|
|
|
4910
4920
|
],
|
|
4911
4921
|
"states": [
|
|
4912
4922
|
"hasFocus",
|
|
4913
|
-
"invalid"
|
|
4914
|
-
"size"
|
|
4923
|
+
"invalid"
|
|
4915
4924
|
],
|
|
4916
4925
|
"events": [
|
|
4917
4926
|
"nile-blur",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aquera/nile-lint",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.1",
|
|
4
4
|
"description": "Agent-first linter for the Nile design system: components, tokens, classes and icons checked against the real Nile manifest, with fixes an agent can apply.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "Aquera Inc",
|