Relax linting rules for `esid` metadata (#1632)
The document fragments used by the ECMAScript specification do not conform to any particular pattern beyond the grammar defined by the URL standard [1]. Relax the linting rule to enforce a simplified version of that grammar. [1] https://url.spec.whatwg.org/#fragment-state
Showing
- tools/lint/lib/checks/esid.py 6 additions, 1 deletiontools/lint/lib/checks/esid.py
- tools/lint/test/fixtures/esid_invalid.js 10 additions, 0 deletionstools/lint/test/fixtures/esid_invalid.js
- tools/lint/test/fixtures/valid_esid_alternate.js 9 additions, 0 deletionstools/lint/test/fixtures/valid_esid_alternate.js
tools/lint/test/fixtures/esid_invalid.js
0 → 100644
Please register or sign in to comment