Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

create-react-linters

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

create-react-linters

setup all linters you like for your react app in 1 minute 🚀

  • 1.0.1
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

Create React Linters 🚀

Setup all linters you like and don't let 💩 slip into your code base!

Eslint | Stylelint | Commitlint | Prettier | EditorConfig | Commitizen

Useage

Prerequisites:

  • Node.js (^12.22.0, ^14.17.0, or >=16.0.0)
  • Project initialized with git and package.json
npx create-react-linters@latest

🎯 Eslint

Find and fix problems in your JavaScript code.
we are extending airbnb configurations. no extra rules are added.

Provided:

Scripts

npm run eslint:check
npm run eslint:fix

✨ Stylelint

A mighty, modern linter that helps you avoid errors and enforce conventions in your styles.
we are extending standard configurations. no extra rules are added.

Provided:

Scripts

npm run stylelint:check
npm run stylelint:fix

✨ Commitlint

Helps your team adhering to a commit convention. By supporting npm-installed configurations it makes sharing of commit conventions easy.
we are extending config-conventional configurations. no extra rules are added.\

Learn more about conventional commits. here

Provided:

💄 Prettier

An opinionated code formatter
.prettierrc.json is created with some configurations, feel free to update them.\

Learn more about prettier options. here

Provided:

Scripts

npm run prettier:check
npm run prettier:fix

📃 EditorConfig

Maintain consistent coding styles for multiple developers working on the same project across various editors and IDEs.
Default .editorconfig generated file is used\

💻 Commitizen

When you commit with Commitizen, you'll be prompted to fill out any required commit fields at commit time.\

npm run commit

🐶 Husky & Lint-Staged

Run linters against staged git files and don't let 💩 slip into your code base!\

pre-commit | eslint, stylelint and prettier commit | commitlint

Keywords

FAQs

Package last updated on 24 Jan 2022

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc