package
Custom eslint rules, used in Nodeca projects.
npm install eslint-plugin-nodecaGitHub-flavored package documentation.
Across all versions.
Download trend unavailable.
Runtime metadata.
Tagged topics.
May be you know, that indentation check was removed from jshint 2.5.0, and not yet implemented in eslint. Now you can check code indentation again, with awesome eslint and this plugin.
install:
npm install eslint-plugin-nodeca --saveThen update .eslintrc from instruction below.
Params:
Config example (yaml):
# acivate plugin
plugins:
- nodeca
# enable rules
rules:
nodeca/indent: [ 2, spaces, 2 ]
# If you are ok with defaults:
#
# nodeca/indent: 2Probably, you never need this ones. Those are for internal nodeca needs.
async module.lodash module.