UNPKG

generator-gitattributes

Version:

A Yeoman generator that creates a .gitattributes file to replace line endings to LF

51 lines (30 loc) 1.22 kB
# generator-gitattributes [![Build Status](https://travis-ci.org/Knorcedger/generator-gitattributes.png?branch=master)](https://travis-ci.org/Knorcedger/generator-gitattributes) A Yeoman generator that creates a .gitattributes file to replace line endings to LF. ## Installation Download node at [nodejs.org](http://nodejs.org) and install it, if you haven't already. Using npx in your project folder ```sh npx -p yo -p generator-gitattributes -- yo gitattributes ``` or install it locally ```sh npm install -g generator-gitattributes --save ``` or download it through [Yeoman](http://yeoman.io). Then, to generate the .eslintrc file in your project use ```sh yo gitattributes ``` ## Tests ```sh npm install npm test ``` ## Dependencies - [yeoman-generator](https://github.com/yeoman/generator): Rails-inspired generator system that provides scaffolding for your apps ## Dev Dependencies - [eslint](https://github.com/eslint/eslint): An AST-based pattern checker for JavaScript. - [eslint-config-google](https://github.com/google/eslint-config-google): ESLint shareable config for the Google style ## License MIT _Generated by [package-json-to-readme](https://github.com/zeke/package-json-to-readme)_