parse-community / parse-community/parse-server

Add additional lint rules

Open
#7,260 5 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

type:ci
Dominant language
JavaScript
Stars
21.4k
Forks
4.8k
Avg merge
7h 45m
Merged PRs (30d)
11

Description

New Issue Checklist
Issue Description

Linter currently allows empty blocks, particularly empty catch blocks. I come across these sometimes in code reviews. They are usually an indication of bad code quality and a likely cause for unnoticed bugs because they swallow any error.

I suggest to add no-empty to the linter and specifically disallow empty catch blocks.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating the repository's ESLint configuration and read the linked no-empty rule documentation, especially its option for empty catch blocks. Done means the lint configuration rejects empty blocks and empty catch blocks, with the existing lint checks still passing.

Written by the indexing model from the issue text.

Assessment

Tech stack
eslint, javascript
Domain
tooling
Issue type
Feature
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.