Skip to content

Commit abec0f5

Browse files
committed
examples: drop eslint
1 parent 10254f0 commit abec0f5

3 files changed

Lines changed: 21 additions & 79 deletions

File tree

.github/workflows/lint-test-build.yml

Lines changed: 0 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -36,25 +36,6 @@ jobs:
3636
- run: npm --workspaces run build
3737
- run: npm run lint
3838

39-
lint-docs-examples:
40-
needs: [build-lib, build-lib-node, build-server]
41-
runs-on: ubuntu-latest
42-
steps:
43-
- uses: actions/checkout@v6
44-
- uses: actions/setup-node@v6
45-
with:
46-
node-version-file: .nvmrc
47-
- uses: actions/cache@v5
48-
with:
49-
path: |
50-
~/.npm
51-
~/.cache/Cypress
52-
key: npm-${{ runner.os }}-${{ hashFiles('package-lock.json') }}
53-
- run: npm ci
54-
- run: npm --workspace={discojs,discojs-node,server} run build
55-
- run: npm run lint
56-
working-directory: docs/examples
57-
5839
build-lib:
5940
runs-on: ubuntu-latest
6041
steps:

docs/examples/eslint.config.js

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

docs/examples/package.json

Lines changed: 21 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,23 @@
11
{
2-
"name": "examples",
3-
"private": true,
4-
"type": "module",
5-
"description": "In `training.ts` we give a brief example of discojs, in it we run two clients training jointly via federated learning. It trains on a few examples of the [face task](https://www.kaggle.com/datasets/frabbisw/facial-age), the samples are already stored in the repo and so it is not necessary to download any additional data.",
6-
"scripts": {
7-
"train": "npm run build && node dist/training.js",
8-
"custom_task": "npm run build && node dist/custom_task.js",
9-
"language_model": "npm run build && node dist/wikitext.js",
10-
"benchmark_gpt": "npm run build && node dist/benchmark_gpt.js",
11-
"build": "tsc",
12-
"lint": "npx eslint .",
13-
"test": "npm run train"
14-
},
15-
"license": "ISC",
16-
"dependencies": {
17-
"server": "*",
18-
"@epfml/discojs": "*",
19-
"@epfml/discojs-node": "*"
20-
},
21-
"devDependencies": {
22-
"eslint": "10",
23-
"typescript": "5",
24-
"typescript-eslint": "8"
25-
}
2+
"name": "examples",
3+
"private": true,
4+
"type": "module",
5+
"description": "In `training.ts` we give a brief example of discojs, in it we run two clients training jointly via federated learning. It trains on a few examples of the [face task](https://www.kaggle.com/datasets/frabbisw/facial-age), the samples are already stored in the repo and so it is not necessary to download any additional data.",
6+
"scripts": {
7+
"train": "npm run build && node dist/training.js",
8+
"custom_task": "npm run build && node dist/custom_task.js",
9+
"language_model": "npm run build && node dist/wikitext.js",
10+
"benchmark_gpt": "npm run build && node dist/benchmark_gpt.js",
11+
"build": "tsc",
12+
"test": "npm run train"
13+
},
14+
"license": "ISC",
15+
"dependencies": {
16+
"server": "*",
17+
"@epfml/discojs": "*",
18+
"@epfml/discojs-node": "*"
19+
},
20+
"devDependencies": {
21+
"typescript": "5"
22+
}
2623
}

0 commit comments

Comments
 (0)