Skip to content

Latest commit

 

History

History
21 lines (14 loc) · 380 Bytes

no-index.md

File metadata and controls

21 lines (14 loc) · 380 Bytes

A file cannot be named "index" (no-index)

Prevents files from being named "index".

Rule Details

This rule aims to prevent files from being named "index", which will lead to files having meaningful names.

Examples of incorrect filename for this rule:

index.js
index.ts

Examples of correct filename for this rule:

calculatePrice.js
login.tsx