Skip to content

Commit fc27fc8

Browse files
committed
BuildVu 2026.02 (1.24.3)
1 parent bde8640 commit fc27fc8

File tree

14 files changed

+1404
-598
lines changed

14 files changed

+1404
-598
lines changed

.jshintignore

Lines changed: 0 additions & 1 deletion
This file was deleted.

.jshintrc

Lines changed: 0 additions & 6 deletions
This file was deleted.

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,9 +35,9 @@ See [Annotations JSON API](https://support.idrsolutions.com/buildvu/api-document
3535
2. Open terminal/command prompt & cd into idrviewer
3636
3. Run `npm install`
3737
4. To run the tasks, run `npm run <taskname>` where `<taskname>` is one of the following:
38-
- 'jshint' is for running static analysis on the JavaScript files.
38+
- 'lint' is for running static analysis on the JavaScript files.
3939
- 'playwright' is for running the automated IDRViewer tests (in /src/test/)
40-
- 'test' is for jshint and playwright tests
40+
- 'test' is for linting and playwright tests
4141
- 'webpack' is for building the UIs
4242
- 'webpack-watch' is for building the UIs and watching for changes
4343

eslint.config.mjs

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
import js from "@eslint/js";
2+
import globals from "globals";
3+
import {defineConfig} from "eslint/config";
4+
5+
export default defineConfig([
6+
{
7+
files: ["src/js/**/*.js"],
8+
plugins: { js },
9+
extends: ["js/recommended"],
10+
languageOptions: {
11+
ecmaVersion: 2020,
12+
sourceType: "script",
13+
globals: {
14+
...globals.browser,
15+
IDRViewer: "writable"
16+
}
17+
},
18+
rules: {
19+
"strict": ["error", "function"],
20+
"no-empty": ["error", { "allowEmptyCatch": true }],
21+
"no-prototype-builtins": "off",
22+
"no-unused-vars": ["error", { "caughtErrors": "all", "caughtErrorsIgnorePattern": "^ignore" }],
23+
"no-var": "error"
24+
}
25+
},
26+
{
27+
files: ["scripts/**/*.js"],
28+
plugins: { js },
29+
extends: ["js/recommended"],
30+
languageOptions: {
31+
ecmaVersion: 2020,
32+
sourceType: "commonjs",
33+
globals: globals.node
34+
}
35+
}
36+
]);

examples/clean/index.html

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

examples/complete/index.html

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

examples/simple/index.html

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

examples/slideshow/index.html

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)