Skip to content

Commit b3600aa

Browse files
authored
Merge pull request #196 from python-project-templates/copier-update-2026-08-14T19-10-03Z
Update from Copier (2026-08-14T19-10-03Z)
2 parents 6d5c88f + b046af0 commit b3600aa

12 files changed

Lines changed: 489 additions & 2254 deletions

File tree

‎.copier-answers.yaml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Changes here will be overwritten by Copier
2-
_commit: 84508d6
2+
_commit: ebda788
33
_src_path: https://github.com/python-project-templates/base.git
44
add_docs: true
55
add_extension: jupyter

‎.vscode/settings.json‎

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

‎docs/wiki/contribute/Build-from-Source.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ make build
7070
| :--------- | :---------- | :------------ | :---------- |
7171
| Python | `ruff` | `ruff` | Style |
7272
| Python | `ruff` | `ruff` | Imports |
73-
| JavaScript | `prettier` | `prettier` | Style |
73+
| JavaScript | `oxlint` | `oxfmt` | Style |
7474
| Markdown | `mdformat` | `mdformat` | Style |
7575
| Markdown | `codespell` | | Spelling |
7676

‎js/.eslintrc.js‎

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

‎js/.oxfmtrc.json‎

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
"$schema": "./node_modules/oxfmt/configuration_schema.json",
3+
"bracketSpacing": false,
4+
"printWidth": 200,
5+
"sortPackageJson": false,
6+
"tabWidth": 2
7+
}

‎js/.oxlintrc.json‎

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
{
2+
"$schema": "./node_modules/oxlint/configuration_schema.json",
3+
"plugins": ["eslint", "import", "jest", "unicorn", "oxc"],
4+
"env": {
5+
"browser": true,
6+
"commonjs": true,
7+
"es6": true,
8+
"jasmine": true,
9+
"jest": true,
10+
"node": true
11+
},
12+
"rules": {
13+
"no-nested-ternary": "warn",
14+
"no-unused-vars": "warn",
15+
"import/extensions": "off",
16+
"import/prefer-default-export": "off",
17+
"unicorn/no-empty-file": "off"
18+
}
19+
}

‎js/package.json‎

Lines changed: 4 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,8 @@
3636
"build:labextension": "rimraf ../python_template_jupyter/labextension && jupyter labextension build .",
3737
"build": "pnpm clean && pnpm build:babel && pnpm build:extension && pnpm build:labextension && pnpm build:nbextension",
3838
"clean": "rimraf lib",
39-
"fix": "pnpm lint --fix",
40-
"lint": "eslint -c .eslintrc.js --ext .js src/ tests/",
39+
"fix": "oxlint --fix src/ tests/ && oxfmt --write \"src/**/*.js\" \"tests/**/*.js\"",
40+
"lint": "oxlint src/ tests/ && oxfmt --check \"src/**/*.js\" \"tests/**/*.js\"",
4141
"preinstall": "npx only-allow pnpm",
4242
"prepublishOnly": "pnpm run build",
4343
"test": "jest --coverage --collectCoverageFrom=src/*.{js}"
@@ -52,26 +52,18 @@
5252
"devDependencies": {
5353
"@babel/cli": "^7.28.6",
5454
"@babel/core": "^7.29.0",
55-
"@babel/eslint-parser": "^7.28.6",
5655
"@babel/preset-env": "^7.29.3",
5756
"@jupyterlab/builder": "^4.5.10",
5857
"babel-jest": "^30.4.1",
5958
"cpy-cli": "^6.0.0",
60-
"eslint": "^8.57.1",
61-
"eslint-config-airbnb": "^19.0.4",
62-
"eslint-config-airbnb-base": "^15.0.0",
63-
"eslint-config-prettier": "^10.1.8",
64-
"eslint-plugin-import": "^2.32.0",
65-
"eslint-plugin-jest": "^29.16.0",
66-
"eslint-plugin-json": "^3.1.0",
67-
"eslint-plugin-prettier": "^5.5.4",
6859
"isomorphic-fetch": "^3.0.0",
6960
"jest": "^30.4.2",
7061
"jest-environment-jsdom": "^30.4.1",
7162
"jest-junit": "^17.0.0",
7263
"jest-transform-css": "^6.0.3",
7364
"mkdirp": "^3.0.1",
74-
"prettier": "^3.9.6",
65+
"oxfmt": "^0.63.0",
66+
"oxlint": "^1.78.0",
7567
"rimraf": "^6.1.3"
7668
}
7769
}

0 commit comments

Comments
 (0)