stylelintrc-generator
v1.0.0
Published
A simple CLI tool to create .stylelintrc.json file perfectly compatible with your project and code formatter Prettier written in TypeScript. Answer some simple questions and get your RC file, as well as all the packages, installed
Downloads
38
Maintainers
Readme
💡 Features
- Uses BEM conventions
- Perfectly compatible with
- Scss
- CSS
- Prettier
- Ask questions and creates config based on your choice
- You have complete control over the configuration
- Checks for package.json file and
npm init -y
if not found - Installs all required packages as dev dependency as per the config
- Uses your preferred package manager
⛏️ Built with
- Inquirer
- Listr
- Execa
🏁 Getting Started
Follow all these instructions and learn the best way to take benefits from this package.
📚 Prerequisite
- Node
- npm/yarn
🧰 Installation
Global installation (preferred way)
npm i stylelintrc-generator -g
Note: Global installation is not possible with yarn v2 as far as I know, (please guide me if I am wrong). If you are using yarn v1 then use
yarn global add stylelintrc-generator
. But I recommend using the global methodPer project installation
npm i stylelintrc-generator -D or yarn add stylelintrc-generator -D
Command to generate RC file
npx generate-stylelintrc or generate-stylelintrc
🎈 Usage
The sole motive of this package is to improve Developer Experience. The package is made to save time configuring Style Pattern and Prettier, with your project. The tool will ask you certain questions, prepare a config and required packages list based on your answers, install all the packages and create the RC file perfectly compatible with your project as well as Prettier. You just need to focus on building your awesome project.
✍️ Authors
- @DeeshanSharma - Idea & Initial Work
📖 Contributing
"In real open source, you have the right to control your own destiny." - Linus Torvalds
Contributions are what makes the open-source community an amazing place. Any contributions you make are greatly appreciated.
💳 License
Distributed under the MIT License. See LICENSE
for more information.
🧬 Resources
🎉 Acknowledgement
👋 EndNote
Star this project so you don't miss it when you need it and avoid wasting time Googling the stuff and just focus on the build.