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.

Usage no npm install needed!

<script type="module">
  import generatorKnrEslintrc from 'https://cdn.skypack.dev/generator-knr-eslintrc';
</script>

README

generator-knr-eslintrc Build Status

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

> generator-knr-eslintrc@0.1.0 test /home/knorcedger/dev/generator-knr-eslintrc
> eslint app/

Dependencies

  • yeoman-generator: Rails-inspired generator system that provides scaffolding for your apps

Dev Dependencies

License

MIT

Generated by package-json-to-readme