Skip to content

Latest commit

 

History

History
34 lines (22 loc) · 760 Bytes

File metadata and controls

34 lines (22 loc) · 760 Bytes

quotes

Enforce the consistent use of either backticks, double, or single quotes.

Rule Details

This rule extends the base eslint/quotes rule. It adds support for TypeScript features which allow quoted names, but not backtick quoted names.

How to Use

{
  // note you must disable the base rule as it can report incorrect errors
  "quotes": "off",
  "@typescript-eslint/quotes": ["error"]
}

Options

See eslint/quotes options.

Taken with ❤️ from ESLint core

Attributes

  • ✅ Recommended
  • 🔧 Fixable
  • 💭 Requires type information