README
generator-code-styles
Generate code styles files in your React, Vue or TypeScript project
Installation
First, install Yeoman and generator-code-styles using npm (we assume you have pre-installed node.js).
npm install -g yo
npm install -g generator-code-styles
Then generate files in your existing project:
yo code-styles
Install Lint Packages
In Vue.js Project
npm i eslint eslint-plugin-vue --save-dev
In React.js Project
npm i eslint eslint-plugin-react --save-dev
In TypeScript Project
npm i tslint tslint-config-standard --save-dev
Getting To Know Yeoman
- Yeoman has a heart of gold.
- Yeoman is a person with feelings and opinions, but is very easy to work with.
- Yeoman can be too opinionated at times but is easily convinced not to be.
- Feel free to learn more about Yeoman.
License
MIT © Wang Chi