Skip to content

Latest commit

 

History

History
25 lines (19 loc) · 2.39 KB

README.md

File metadata and controls

25 lines (19 loc) · 2.39 KB

eslint-plugin-th-rules

semantic-release XO code style Snyk Security CodeQL OpenSSF Scorecard

This repository contains custom ESLint rules to enhance code quality and consistency across projects.

Rules

💼 Configurations enabled in.
✅ Set in the recommended configuration.
🔧 Automatically fixable by the --fix CLI option.

Name                Description 💼 🔧
no-comments Disallow comments except for specified allowed patterns. ✅ ![badge-recommended-react][] ![badge-recommended-typescript][] 🔧
no-default-export Convert unnamed default exports to named default exports based on the file name. ✅ ![badge-recommended-react][] ![badge-recommended-typescript][] 🔧
no-destructuring Disallow destructuring that does not meet certain conditions ✅ ![badge-recommended-react][] ![badge-recommended-typescript][]
top-level-functions Require all top-level functions to be named/regular functions. ✅ ![badge-recommended-react][] ![badge-recommended-typescript][] 🔧