parse-community / parse-community/parse-server

Add object-shorthand lint rule

Open
#7,919 2 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 Feature / Enhancement Checklist
Current Limitation

Without enforcement of stronger lint rules, there is no consistent styling across Parse Server.

Feature / Enhancement Description

Add object-shorthand lint rule so that there is consistency across function declarations.

ECMAScript 6 provides a concise form for defining object literal methods and properties. This syntax can make defining complex object literals much cleaner.

Example Use Case

n/a

Alternatives / Workarounds

n/a

3rd Party References

https://eslint.org/docs/rules/object-shorthand

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 with the ESLint object-shorthand rule documentation linked in the issue, then locate Parse Server's lint configuration and existing rule tests. Enable the rule for the project and verify that the lint checks pass with consistent object method and property shorthand usage.

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
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.