Skip to content

Commit 7043c55

Browse files
authored
Merge pull request #217 from mkslanc/ace-legacy-linters
Ace legacy linters
2 parents 0c3a691 + e2fd429 commit 7043c55

52 files changed

Lines changed: 17550 additions & 16212 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/workflows/pr-ci.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ jobs:
3636
- run: npm ci
3737
- run: npm run build
3838
- run: npm run test:unit -w packages/ace-linters
39+
- run: npm run test:unit -w packages/ace-legacy-linters
3940
- run: |
4041
npm run prepare:ui-smoke
4142

package-lock.json

Lines changed: 101 additions & 27 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
{
22
"name": "ace-linters-root",
3-
"version": "2.2.1",
3+
"version": "2.3.0",
44
"scripts": {
55
"build:parts": "npm run build -ws",
66
"build": "npm run build:parts && vite build",
77
"start-dev": "vite",
88
"prepare:ui-smoke": "node tools/prepare-ui-smoke-dist.js",
9-
"start-test-server:ui-smoke": "npm run prepare:ui-smoke && http-server --cors='*' tests/ui-smoke/dist",
9+
"start-test-server:ui-smoke": "npm run prepare:ui-smoke && http-server --cors='*' tests/ui-smoke/dist -c-1",
1010
"test:ui:smoke": "mocha --exit"
1111
},
1212
"dependencies": {

packages/ace-legacy-linters/.mocharc.js

Lines changed: 11 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
MIT License
2+
3+
Copyright (c) 2026 Azat Alimov
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy
6+
of this software and associated documentation files (the "Software"), to deal
7+
in the Software without restriction, including without limitation the rights
8+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
copies of the Software, and to permit persons to whom the Software is
10+
furnished to do so, subject to the following conditions:
11+
12+
The above copyright notice and this permission notice shall be included in all
13+
copies or substantial portions of the Software.
14+
15+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21+
SOFTWARE.
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
# ace-legacy-linters
2+
3+
This package contains drop-in replacements for legacy Ace Editor worker files.
4+
5+
Its purpose is simple:
6+
- build standalone worker scripts that can replace legacy Ace workers
7+
- keep the existing Ace worker loading flow unchanged
8+
- provide updated linting or syntax-checking behavior without modifying Ace itself
9+
10+
The generated files are intended to be used in place of the corresponding Ace worker assets, such as files under
11+
`ace-builds/src` or `ace-builds/src-noconflict`.
12+
13+
Currently this package replaces these Ace workers:
14+
- `worker-php.js`
15+
- `worker-lua.js`
16+
- `worker-html.js`
17+
- `worker-json.js`
18+
- `worker-css.js`
19+
- `worker-xml.js`
20+
- `worker-yaml.js`
21+
- `worker-javascript.js`
22+
23+
This package is not a general-purpose language service layer. It is only for compatibility replacements of legacy Ace
24+
workers.

0 commit comments

Comments
 (0)