Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/tomerh2001/eslint-plugin-th-rules
Custom ESLint rules for improving consistency across projects.
https://github.com/tomerh2001/eslint-plugin-th-rules
eslint eslint-plugin eslint-rule eslint-rules
Last synced: 7 days ago
JSON representation
Custom ESLint rules for improving consistency across projects.
- Host: GitHub
- URL: https://github.com/tomerh2001/eslint-plugin-th-rules
- Owner: tomerh2001
- Created: 2024-02-22T18:04:51.000Z (12 months ago)
- Default Branch: main
- Last Pushed: 2024-09-27T03:39:06.000Z (5 months ago)
- Last Synced: 2024-09-29T01:04:30.472Z (5 months ago)
- Topics: eslint, eslint-plugin, eslint-rule, eslint-rules
- Language: JavaScript
- Homepage:
- Size: 2.85 MB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 15
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Security: SECURITY.md
Awesome Lists containing this project
README
# eslint-plugin-th-rules
[](https://github.com/semantic-release/semantic-release)
[](https://github.com/xojs/xo)
[](../../actions/workflows/snyk-security.yml)
[](../../actions/workflows/codeql.yml)
[](https://securityscorecards.dev/viewer/?uri=github.com/tomerh2001/eslint-plugin-th-rules)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](https://eslint.org/docs/user-guide/command-line-interface#--fix).| Name               | Description | 💼 | 🔧 |
| :------------------------------------------------------- | :------------------------------------------------------------------------------- | :--------------------------------------------------------------- | :- |
| [no-comments](docs/rules/no-comments.md) | Disallow comments except for specified allowed patterns. | ✅ ![badge-recommended-react][] ![badge-recommended-typescript][] | 🔧 |
| [no-default-export](docs/rules/no-default-export.md) | Convert unnamed default exports to named default exports based on the file name. | ✅ ![badge-recommended-react][] ![badge-recommended-typescript][] | 🔧 |
| [no-destructuring](docs/rules/no-destructuring.md) | Disallow destructuring that does not meet certain conditions | ✅ ![badge-recommended-react][] ![badge-recommended-typescript][] | |
| [top-level-functions](docs/rules/top-level-functions.md) | Require all top-level functions to be named/regular functions. | ✅ ![badge-recommended-react][] ![badge-recommended-typescript][] | 🔧 |