MetaMask / MetaMask/eslint-config

Disallow function expressions at the root level

Open
#21 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
12
Forks
21
PR merge metrics
No merged PRs in 30d

Description

ESLint's [`func-style`][1] allows us to enforce a particular type of function style, either declarations or expressions.[\[1\]][1] Is there merit in enforcing one style over the other?

[1]:https://eslint.org/docs/rules/func-style

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reading the linked ESLint func-style rule documentation and inspect the repository's ESLint configuration entry points. Determine whether root-level function expressions should be disallowed and which style should be enforced. Done means the policy is decided and the configuration and related checks consistently enforce it.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
tooling
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.