Align L20n linting rules with Mozilla's

RESOLVED FIXED

Status

()

enhancement
P3
normal
RESOLVED FIXED
2 years ago
a year ago

People

(Reporter: gandalf, Unassigned)

Tracking

Firefox Tracking Flags

(Not tracked)

Details

Fluent and L10nRegistry code is currently linted according to https://github.com/projectfluent/fluent.js rules.

We should align it with https://dxr.mozilla.org/mozilla-central/source/tools/lint/eslint/modules.json and enable linting.
(Reporter)

Updated

2 years ago
Blocks: 1365426
Priority: -- → P3
(Reporter)

Updated

a year ago
Blocks: 1428769
(Reporter)

Updated

a year ago
No longer blocks: 1365426
(Reporter)

Comment 1

a year ago
The basic alignment happened in https://github.com/projectfluent/fluent.js/commit/8e4f284e04b9333393da8c66dca46d82f3e60b57

With this in place our code conforms to the mozilla rules.

We can look deeper into reusing mozilla's eslint ruleset, but that's not a blocker anymore and would rather be a good base for fluent.js repo eslint refresh.
Status: NEW → RESOLVED
Last Resolved: a year ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.