Skip to content

Latest commit

 

History

History
23 lines (16 loc) · 464 Bytes

extension.md

File metadata and controls

23 lines (16 loc) · 464 Bytes

filenames-simple/extension

This rule enforces the target file extension is in the allowed extensions.

Configuration example

{
  "plugins": ["filenames-simple"],
  "rules": {
    "filenames-simple/extension": "error"
  }
}

Available options

No options are provided. To override the allowed extensions, specify the settings.filenames-simple.allowedExtensions.

See also