/eslint-plugin-smt

test eslint plugin

Primary LanguageJavaScriptMIT LicenseMIT

eslint-plugin-smt

Remember to install the dependencies after cloning:

$ git clone https://github.com/smt/eslint-plugin-smt.git
$ cd eslint-plugin-smt
$ npm install

To test a rule in isolation with eslint, run a command similar to:

$ ./node-modules/eslint/bin/eslint.js --reset --no-eslintrc \
  --rule "'ng-annotate-arg-order': 1" \
  --rulesdir ./lib/rules \
  tests/example1.js

Then, edit example1.js to make it fail the rule.