Skip to content

Small eslint config cleanup, use strict and stylistic lints #566

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 9 commits into from
May 12, 2025

Conversation

MareStare
Copy link
Contributor

Before you begin

  • I understand my contributions may be rejected for any reason
  • I understand my contributions are for the benefit of Derpibooru and/or the Philomena software
  • I understand my contributions are licensed under the GNU AGPLv3
  • I understand all of the above

My goal is to reduce the eslint config as much as possible plus enable lints that require type info (currently they trigger a lot of lints, so I haven't done this yet). This doesn't achieve that goal fully, but already removes some redundant configs from our eslint.config.js.

@MareStare MareStare added this to the 1.2 milestone May 10, 2025
@Meow Meow merged commit ead545f into philomena-dev:master May 12, 2025
6 checks passed
Meow pushed a commit that referenced this pull request May 12, 2025
* Enable `noImplicitOverride` in `tsconfig`

* Remove some unnecessary disabled lints in tests

* Fix unused vars

* Disallow if-like && / || expression statements

* Simplify config

* Enable strict and stylistic lints

* Add js eslint recommended configs

* Remove unnecessary globs

* Fix grammar
MareStare added a commit to MareStare/philomena that referenced this pull request May 20, 2025
…a-dev#566)

* Enable `noImplicitOverride` in `tsconfig`

* Remove some unnecessary disabled lints in tests

* Fix unused vars

* Disallow if-like && / || expression statements

* Simplify config

* Enable strict and stylistic lints

* Add js eslint recommended configs

* Remove unnecessary globs

* Fix grammar
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants