Product
Introducing SSO
Streamline your login process and enhance security by enabling Single Sign-On (SSO) on the Socket platform, now available for all customers on the Enterprise plan, supporting 20+ identity providers.
create-react-linters
Advanced tools
Readme
Setup all linters you like and don't let 💩 slip into your code base!
Eslint | Stylelint | Commitlint | Prettier | EditorConfig | Commitizen
Prerequisites:
^12.22.0
, ^14.17.0
, or >=16.0.0
)git
and package.json
npx create-react-linters@latest
Find and fix problems in your JavaScript code.
we are extending airbnb
configurations. no extra rules are added.
Typescript Only
Typescript Only
Typescript Only
npm run eslint:check
npm run eslint:fix
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.
SCSS/SASS Only
npm run stylelint:check
npm run stylelint:fix
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
An opinionated code formatter
.prettierrc.json
is created with some configurations, feel free to update them.\
Learn more about prettier options. here
if.eslintrc.json found
if.eslintrc.json found
if.stylelintrc.json found
if.stylelintrc.json found
npm run prettier:check
npm run prettier:fix
Maintain consistent coding styles for multiple developers working on the same project across various editors and IDEs.
Default .editorconfig
generated file is used\
When you commit with Commitizen, you'll be prompted to fill out any required commit fields at commit time.\
npm run commit
Run linters against staged git files and don't let 💩 slip into your code base!\
pre-commit | eslint, stylelint and prettier commit | commitlint
FAQs
setup all linters you like for your react app in 1 minute 🚀
The npm package create-react-linters receives a total of 0 weekly downloads. As such, create-react-linters popularity was classified as not popular.
We found that create-react-linters demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
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.
Product
Streamline your login process and enhance security by enabling Single Sign-On (SSO) on the Socket platform, now available for all customers on the Enterprise plan, supporting 20+ identity providers.
Security News
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
Security News
As cyber threats become more autonomous, AI-powered defenses are crucial for businesses to stay ahead of attackers who can exploit software vulnerabilities at scale.