d54cddcb1d
Enable some more oxlint rules ( #34193 )
...
* Enable some more oxlint rules
* Iterate
* Iterate
* Update packages/shared-components/src/room/timeline/event-tile/EventTileView/E2ePadlock/E2ePadlock.tsx
Co-authored-by: Hubert Chathi <hubert@uhoreg.ca >
---------
Co-authored-by: Hubert Chathi <hubert@uhoreg.ca >
2026-08-10 12:25:55 +00:00
dacea3463a
Update npm non-major dependencies ( #34446 )
...
* Update npm non-major dependencies
* Iterate
* Iterate
* Oxlint & Knip
* Oxlint
---------
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Michael Telatynski <7t3chguy@gmail.com >
2026-08-05 21:29:30 +00:00
Michael Telatynski and GitHub
4aa1a3549e
Enable oxlint restriction ruleset ( #34307 )
...
* Remove stale max-len disablements
* Remove stale camelCase & naming-convention disablements
* Remove stale ban-ts-comment disablements
* Remove stale no-var disablements
* Remove stale no-empty-property disablements
* Remove stale react rule disablements
* Remove stale no-constant-condition disablements
* Remove stale no-unused-vars disablements
* Remove stale disablements for disabled rules
* fixup camelcase
* Remove dead code
* Tidy code
* Tweak oxlint config
* Use oxlint to apply jsx/tsx extension consistently
* Fix import
* Fix imports
* Rename affected snapshots
* Update more imports
* Enable restriction ruleset
* Make code comply with new rules
* Make code comply with react/button-has-type
* Make code comply with typescript/non-nullable-type-assertion-style
* Comply with node/no-process-env
* Comply with unicorn/prefer-node-protocol
* Comply with unicorn/import-style
* Comply with unicorn/no-process-exit
* Comply with no-proto
* Comply with node/handle-callback-err
* Comply with import/no-commonjs
* Comply with node/no-path-concat
* Comply with unicorn/no-length-as-slice-end
* Comply with unicorn/no-document-cookie
* Comply with unicorn/prefer-module
* Comply with typescript/prefer-literal-enum-member
* Comply with jsx-a11y/anchor-ambiguous-text
* Tweak oxlint config
* Fix resolves
* Iterate
* Iterate
* Iterate
* Iterate
* Iterate
* Iterate
* Iterate
2026-08-04 09:15:07 +00:00
Michael Telatynski and GitHub
bbec915fb0
Enable more oxlint rules ( #34189 )
...
* Fix type imports
* Fix jsdoc
* Fixup types
* Fix stray awaits on non-thenables
* Fixup imports
* Fix splats
* Fix this-context on callbacks
* Memoise react contexts
* Prefer find/flatMap
* Make oxlint happier about our React keys
* Avoid unsafe default function params
* Fixup jsdoc
* Fixup contexts
* Switch from eslint to oxlint
* Some oxlint-related tweaks
* Iterate
* Partial revert to defer some changes and shrink diff
* Iterate
* Add eslint-plugin-element-call and enable the copyright rule
* Set strictStorePkgContentCheck
* Iterate
* Enable forwardRef oxlint rule
* Enable no-unused-vars oxlint rule
* Enable no-implied-eval oxlint rule
* Enable no-duplicate-type-constituents oxlint rule
* Enable explicit-length-check oxlint rule
* Enable prefer-number-properties oxlint rule
* Enable no-callback-in-promise oxlint rule
* Enable no-require-imports oxlint rule
* Remove disablement of most unicorn oxlint rules
* Enable no-conditional-tests oxlint rule
* Enable promise-valid-params oxlint rule
* Enable require-unicode-regexp oxlint rule
* Remove max-len comments as we use oxfmt for formatting
* Enable majority of oxlint `suspicious` rules
* Iterate
* Fix oxlint type-aware lint running without dependencies built
2026-07-29 08:26:07 +00:00
Michael Telatynski and GitHub
79ac7fbc9e
Use oxlint to apply jsx/tsx extension consistently ( #34303 )
...
* Remove stale max-len disablements
* Remove stale camelCase & naming-convention disablements
* Remove stale ban-ts-comment disablements
* Remove stale no-var disablements
* Remove stale no-empty-property disablements
* Remove stale react rule disablements
* Remove stale no-constant-condition disablements
* Remove stale no-unused-vars disablements
* Remove stale disablements for disabled rules
* fixup camelcase
* Remove dead code
* Tidy code
* Tweak oxlint config
* Use oxlint to apply jsx/tsx extension consistently
* Fix import
* Fix imports
* Rename affected snapshots
* Update more imports
2026-07-17 09:50:57 +00:00
Michael Telatynski and GitHub
b51c5ed8a7
Tweak oxlint config & delint our code ( #34301 )
...
* Remove stale max-len disablements
* Remove stale camelCase & naming-convention disablements
* Remove stale ban-ts-comment disablements
* Remove stale no-var disablements
* Remove stale no-empty-property disablements
* Remove stale react rule disablements
* Remove stale no-constant-condition disablements
* Remove stale no-unused-vars disablements
* Remove stale disablements for disabled rules
* fixup camelcase
* Remove dead code
* Tidy code
* Tweak oxlint config
2026-07-17 07:55:31 +00:00
Michael Telatynski and GitHub
b9972b7e9e
Enable some oxlint a11y rules & improve keyboard accessibility ( #34291 )
...
* Conform to oxlint rule jsx-a11y/role-has-required-aria-props
* Conform to oxlint rule jsx-a11y/role-supports-aria-props
* Conform to oxlint rule jsx-a11y/interactive-supports-focus
* Conform to oxlint rule jsx-a11y/click-events-have-key-events
* Update snapshots
2026-07-16 17:29:49 +00:00
Michael Telatynski and GitHub
15c85ec50f
Switch from eslint to oxlint ( #34166 )
...
* Fix type imports
* Fix jsdoc
* Fixup types
* Fix stray awaits on non-thenables
* Fixup imports
* Fix splats
* Fix this-context on callbacks
* Memoise react contexts
* Prefer find/flatMap
* Make oxlint happier about our React keys
* Avoid unsafe default function params
* Fixup jsdoc
* Fixup contexts
* Switch from eslint to oxlint
* Some oxlint-related tweaks
* Iterate
* Partial revert to defer some changes and shrink diff
* Iterate
* Add eslint-plugin-element-call and enable the copyright rule
* Set strictStorePkgContentCheck
* Iterate
* Make sonar happy
* Fix new lints
2026-07-10 09:47:41 +00:00