eslint-plugin-doist 2.0.0
Install from the command line:
Learn more about npm packages
$ npm install @doist/eslint-plugin-doist@2.0.0
Install via package.json:
"@doist/eslint-plugin-doist": "2.0.0"
About this version
A collection of Doist ESLint rules.
You'll first need to install ESLint:
npm i eslint --save-dev
Next, install eslint-plugin-doist
:
npm install eslint-plugin-doist --save-dev
Add doist
to the plugins section of your .eslintrc
configuration file. You can omit the eslint-plugin-
prefix:
{
"plugins": [
"@doist/doist"
]
}
Enforce only string literals as arguments to our i18n helpers _()
.
Enforce naming conventions when importing certain file types using ES6 modules.
Enforce only string literals as arguments to our static deployment tool $static_path
.
Use generator-eslint
:
yo eslint:rule
Stick to the ESLint recomendations regarding working with rules and working with plugins.
Details
- eslint-plugin-doist
- Doist
- 4 months ago
- ISC
- 8 dependencies
Assets
- eslint-plugin-doist-2.0.0.tgz
Download activity
- Total downloads 0
- Last 30 days 0
- Last week 0
- Today 0