HomePhabricator
Diffusion Comm 139f31894526

Add an ESLint rule that check filename format

Description

Add an ESLint rule that check filename format

Summary:
Add a rule that enforces kebab-case names. Renamed the files using IDE so that all the references were updated.

The rule is from https://github.com/sindresorhus/eslint-plugin-unicorn/tree/main library - MIT license, 3.8k stars on GitHub.

https://linear.app/comm/issue/ENG-6819/make-sure-js-file-names-are-consistent

Test Plan: ESLint, Flow. Also checked if the web app can run.

Reviewers: inka, kamil, atul, ashoat

Reviewed By: ashoat

Subscribers: ashoat

Differential Revision: https://phab.comm.dev/D11102

Details

Provenance
tomekAuthored on Feb 15 2024, 9:49 AM
Reviewer
ashoat
Differential Revision
D11102: Add an ESLint rule that check filename format
Parents
rCOMMc99ef2ed384e: [services] update `Cargo.lock`
Branches
Unknown
Tags
Unknown