0.3.1 • Published 2 years ago
eslint-plugin-smart-apostrophes v0.3.1
eslint-plugin-smart-apostrophes
Deprecated | Please use eslint-plugin-curly-quotes instead. |
---|
Prefer the use of smart apostrophes over straight ones. Supports .js
, .ts
and .vue
files.
All contributions are welcome!
Installation
Install ESLint:
npm install eslint --save-dev
Install eslint-plugin-smart-apostrophes
:
npm install eslint-plugin-smart-apostrophes --save-dev
Usage
Add the plugin to .eslintrc.*
:
{
"plugins": ["smart-apostrophes"]
}
Add the rule:
{
"rules": {
"smart-apostrophes/smart-apostrophes": "warn"
}
}