Skip to content

Commit 35ac405

Browse files
committed
remove docusaurus machinery from main
preserving content motivation: this clears the way to upgrade our eslint configuration to v9, which should hopefully let us update our custom rule configuration currently, when attempting to frontport the next js website from v16 to main, we get eslint errors surrounding our custom rules. if we re-implement our custom rules according to the latest eslint configuration, it should make it easier this change allows us to do that inter alia by removing the eslint typedoc plugin
1 parent 555e2ac commit 35ac405

File tree

17 files changed

+4221
-20311
lines changed

17 files changed

+4221
-20311
lines changed

.eslintignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
# Copied from '.gitignore', please keep it in sync.
22
/.eslintcache
3-
/.docusaurus
43
/node_modules
54
/reports
65
/npmDist

.eslintrc.cjs

Lines changed: 1 addition & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -420,16 +420,9 @@ module.exports = {
420420
sourceType: 'module',
421421
project: ['tsconfig.json'],
422422
},
423-
plugins: ['@typescript-eslint', 'eslint-plugin-tsdoc'],
423+
plugins: ['@typescript-eslint'],
424424
extends: ['plugin:import/typescript'],
425425
rules: {
426-
//////////////////////////////////////////////////////////////////////////
427-
// `eslint-plugin-tsdoc` rule list based on `v0.3.x`
428-
// https://github.com/microsoft/tsdoc/tree/master/eslint-plugin
429-
//////////////////////////////////////////////////////////////////////////
430-
431-
'tsdoc/syntax': 'error',
432-
433426
//////////////////////////////////////////////////////////////////////////
434427
// `@typescript-eslint/eslint-plugin` rule list based on `v8.4.x`
435428
//////////////////////////////////////////////////////////////////////////
@@ -750,12 +743,6 @@ module.exports = {
750743
'import/no-commonjs': 'off',
751744
'import/no-nodejs-modules': 'off',
752745
'import/no-extraneous-dependencies': 'off',
753-
// Ignore docusarus related webpack aliases
754-
'n/no-missing-import': 'off',
755-
'import/no-unresolved': [
756-
'error',
757-
{ ignore: ['^@theme', '^@docusaurus', '^@generated'] },
758-
],
759746
},
760747
},
761748
],

.github/workflows/ci.yml

Lines changed: 0 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -243,32 +243,3 @@ jobs:
243243
with:
244244
name: denoDist
245245
path: ./denoDist
246-
247-
build-website-dist:
248-
name: Build website
249-
runs-on: ubuntu-latest
250-
permissions:
251-
contents: read # for actions/checkout
252-
steps:
253-
- name: Checkout repo
254-
uses: actions/checkout@v4
255-
with:
256-
persist-credentials: false
257-
258-
- name: Setup Node.js
259-
uses: actions/setup-node@v4
260-
with:
261-
cache: npm
262-
node-version-file: '.node-version'
263-
264-
- name: Install Dependencies
265-
run: npm ci --ignore-scripts
266-
267-
- name: Build Docs
268-
run: npm run build:website
269-
270-
- name: Upload denoDist package
271-
uses: actions/upload-artifact@v4
272-
with:
273-
name: websiteDist
274-
path: ./websiteDist

.gitignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@
88
/diff-npm-package.html
99
/.eslintcache
1010
/.cspellcache
11-
/.docusaurus
1211
/node_modules
1312
/reports
1413
/npmDist

.prettierignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
# Copied from '.gitignore', please keep it in sync.
22
/diff-npm-package.html
33
/.eslintcache
4-
/.docusaurus
54
/node_modules
65
/reports
76
/npmDist

0 commit comments

Comments
 (0)