@tsrx/eslint-parser 0.3.124 → 0.3.127

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 +6 -9
  2. package/package.json +7 -7
package/README.md CHANGED
@@ -32,7 +32,7 @@ export default [
32
32
  parser: tsrxParser,
33
33
  },
34
34
  plugins: {
35
- ripple: tsrxPlugin,
35
+ tsrx: tsrxPlugin,
36
36
  },
37
37
  rules: {
38
38
  ...tsrxPlugin.configs.recommended.rules,
@@ -49,8 +49,8 @@ export default [
49
49
  {
50
50
  "files": ["*.tsrx"],
51
51
  "parser": "@tsrx/eslint-parser",
52
- "plugins": ["ripple"],
53
- "extends": ["plugin:ripple/recommended"]
52
+ "plugins": ["tsrx"],
53
+ "extends": ["plugin:tsrx/recommended"]
54
54
  }
55
55
  ]
56
56
  }
@@ -76,9 +76,7 @@ The parser supports TSRX syntax including:
76
76
  - JSX statement containers with `@{ ... }` for setup plus one rendered output
77
77
  - Template directives like `@if`, `@for`, `@switch`, and `@try`
78
78
  - Function components that return TSRX, TSX, or standard JavaScript values
79
- - `track()` reactive values (imported from `ripple`)
80
79
  - `&{}` and `&[]` lazy destructuring
81
- - Reactive collections
82
80
  - All standard JavaScript/TypeScript syntax
83
81
 
84
82
  ## Example
@@ -86,10 +84,10 @@ The parser supports TSRX syntax including:
86
84
  Given a `.tsrx` file:
87
85
 
88
86
  ```tsrx
89
- import { track } from 'ripple';
87
+ import { signal } from 'signals';
90
88
 
91
89
  export function Counter() @{
92
- let &[count] = track(0);
90
+ let &[count] = signal(0);
93
91
 
94
92
  <button onClick={() => count++}>
95
93
  Increment
@@ -101,8 +99,7 @@ export function Counter() @{
101
99
  The parser will successfully parse this and allow ESLint rules (like those from
102
100
  `@tsrx/eslint-plugin`) to check for:
103
101
 
104
- - Track calls at module scope
105
- - Missing @ operators
102
+ - Missing statement-container markers
106
103
  - Invalid rendering control flow
107
104
  - And more
108
105
 
package/package.json CHANGED
@@ -1,18 +1,18 @@
1
1
  {
2
2
  "name": "@tsrx/eslint-parser",
3
- "version": "0.3.124",
4
- "description": "ESLint parser for Ripple (.tsrx files)",
3
+ "version": "0.3.127",
4
+ "description": "ESLint parser for TSRX (.tsrx files)",
5
5
  "type": "module",
6
6
  "main": "src/index.ts",
7
7
  "repository": {
8
8
  "type": "git",
9
- "url": "git+https://github.com/Ripple-TS/ripple.git",
9
+ "url": "git+https://github.com/tsrx-org/tsrx.git",
10
10
  "directory": "packages/eslint-parser"
11
11
  },
12
12
  "bugs": {
13
- "url": "https://github.com/Ripple-TS/ripple/issues"
13
+ "url": "https://github.com/tsrx-org/tsrx/issues"
14
14
  },
15
- "homepage": "https://ripple-ts.com",
15
+ "homepage": "https://tsrx.dev/",
16
16
  "publishConfig": {
17
17
  "access": "public"
18
18
  },
@@ -25,7 +25,7 @@
25
25
  "keywords": [
26
26
  "eslint",
27
27
  "parser",
28
- "ripple"
28
+ "tsrx"
29
29
  ],
30
30
  "author": "Dominic Gannaway",
31
31
  "license": "MIT",
@@ -33,7 +33,7 @@
33
33
  "eslint": ">=9.0.0"
34
34
  },
35
35
  "dependencies": {
36
- "@tsrx/core": "0.1.60"
36
+ "@tsrx/core": "0.1.62"
37
37
  },
38
38
  "devDependencies": {
39
39
  "@types/eslint": "^9.6.1",