generator-knr-eslintrc
v0.1.4
Published
A yeoman generator that adds an eslintrc.js file in your project
Downloads
4
Maintainers
Readme
generator-knr-eslintrc
A yeoman generator that adds an eslintrc.js file in your project.
It uses the Google Styling Guide but changes spaces for tabs (you can set tabs any space size you want ;)).
You need to use it in a folder that already has a package.json file.
The .js file is used to be able to add comments etc in further modifications that be might needed.
Installation
Download node at nodejs.org and install it, if you haven't already.
npm install -g generator-knr-eslintrc --save
or download it through Yeoman.
Then, to generate the .eslintrc file in your project use
yo knr-eslintrc
Tests
npm install
npm test
> [email protected] test /home/knorcedger/dev/generator-knr-eslintrc
> eslint app/
Dependencies
- yeoman-generator: Rails-inspired generator system that provides scaffolding for your apps
Dev Dependencies
- eslint: An AST-based pattern checker for JavaScript.
- eslint-config-google: ESLint shareable config for the Google style
License
MIT
Generated by package-json-to-readme