eslint-plugin-eh-to-zee-converter v1.3.12
Eh to Zee Converter
This is a custom eslint plugin that adds rules to check and convert Canadian English to American English and vice versa! It's published to NPM for the public to download and use.
Installation
You'll first need to install ESLint if you haven't done so already:
npm install eslint --save-devNext, install eh-to-zee-converter:
npm install --save-dev eslint-plugin-eh-to-zee-converterUsage
Add eh-to-zee-converter to the plugins section of your .eslintrc file and eh-to-zee-converter/canadian-to-american OR eh-to-zee-converter/american-to-canadian to the list of rules. The eslint-plugin- prefix is optional:
{
"plugins": ["eh-to-zee-converter"],
"rules": {
"eh-to-zee-converter/canadian-to-american": "error"
}
}If you want to modify or add more rules in the src, make sure to build the dist folder with the following command:
tscPublishing
npm publish --access public2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago