@clarusjs/eslint-plugin 0.2.2 → 0.2.3
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/index.js +1 -1
- package/package.json +3 -3
package/dist/index.js
CHANGED
|
@@ -14,7 +14,7 @@ import { declarations, fromTypescriptEslint, loadTypeScript, typeProgram } from
|
|
|
14
14
|
const fromEslint = createRequire(createRequire(import.meta.url).resolve('eslint'));
|
|
15
15
|
const espree = fromEslint('espree');
|
|
16
16
|
const eslintScope = fromEslint('eslint-scope');
|
|
17
|
-
const RUNTIME = ['state', 'derived', 'shared']; // what a script uses without importing (see the compiler's script.ts)
|
|
17
|
+
const RUNTIME = ['state', 'derived', 'shared', 'effect']; // what a script uses without importing (see the compiler's script.ts)
|
|
18
18
|
/** Every expression a template reads, as text. */
|
|
19
19
|
function* expressions(nodes) {
|
|
20
20
|
for (const n of nodes) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@clarusjs/eslint-plugin",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.3",
|
|
4
4
|
"description": "Lint clarusjs .tscl components with ESLint: their <script> blocks with your rules, and the template rules of clarusjs check",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|
|
@@ -28,13 +28,13 @@
|
|
|
28
28
|
"README.md"
|
|
29
29
|
],
|
|
30
30
|
"peerDependencies": {
|
|
31
|
-
"clarusjs": ">=0.
|
|
31
|
+
"clarusjs": ">=0.21.0",
|
|
32
32
|
"eslint": "^9.0.0 || ^10.0.0"
|
|
33
33
|
},
|
|
34
34
|
"devDependencies": {
|
|
35
35
|
"@types/node": "^26.6.11",
|
|
36
36
|
"@typescript/native": "npm:typescript@^7.0.2",
|
|
37
|
-
"clarusjs": "0.
|
|
37
|
+
"clarusjs": "0.21.0",
|
|
38
38
|
"eslint": "10.16.0",
|
|
39
39
|
"typescript": "npm:@typescript/typescript6@6.0.2",
|
|
40
40
|
"typescript-eslint": "8.74.0",
|