0.3.1 • Published 4 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-devInstall eslint-plugin-smart-apostrophes:
npm install eslint-plugin-smart-apostrophes --save-devUsage
Add the plugin to .eslintrc.*:
{
"plugins": ["smart-apostrophes"]
}Add the rule:
{
"rules": {
"smart-apostrophes/smart-apostrophes": "warn"
}
}