1.0.4 • Published 4 years ago
eslint-plugin-yen-symbol-check v1.0.4
eslint-plugin-synlint
In the Vue project, eslint prompts to verify whether the Yen symbol ¥ is used
Notice Change the rule to skip the attribute verification prompt of this
Installation
You'll first need to install ESLint:
npm i eslint --save-devNext, install eslint-plugin-yen-symbol-check:
npm install eslint-plugin-yen-symbol-check --save-devUsage
Add synlint to the plugins section of your .eslintrc configuration file. You can omit the eslint-plugin- prefix:
{
"plugins": [
"yen-symbol-check"
]
}Then configure the rules you want to use under the rules section.
{
"rules": {
"yen-symbol-check/yen-symbol-check": 2
}
}Supported Rules
- Fill in provided rules here
test
npm i && npm link && npm link eslint-plugin-yen-symbol-check && npm run test