
Security News
TypeScript is Porting Its Compiler to Go for 10x Faster Builds
TypeScript is porting its compiler to Go, delivering 10x faster builds, lower memory usage, and improved editor performance for a smoother developer experience.
@eslint-react/eslint-plugin
Advanced tools
A set of composable ESLint rules for libraries and frameworks that use React as a UI runtime.
A set of composable ESLint rules for libraries and frameworks that use React as a UI runtime.
@eslint-react/eslint-plugin
- The main ESLint plugin package including all rules and config presets in this repository.eslint-plugin-react-x
- Core rules (renderer-agnostic, compatible with x-platform).eslint-plugin-react-dom
- DOM specific rules for React DOM.eslint-plugin-react-web-api
- Rules for interacting with Web APIs.eslint-plugin-react-hooks-extra
- Extra React Hooks rules.eslint-plugin-react-naming-convention
- Naming convention rules.npm install --save-dev typescript-eslint @eslint-react/eslint-plugin
// eslint.config.js
// @ts-check
import eslintJs from "@eslint/js";
import eslintReact from "@eslint-react/eslint-plugin";
import tseslint from "typescript-eslint";
export default tseslint.config({
files: ["**/*.ts", "**/*.tsx"],
extends: [
eslintJs.configs.recommended,
tseslint.configs.recommended,
eslintReact.configs.recommended,
],
languageOptions: {
parser: tseslint.parser,
parserOptions: {
projectService: true,
},
},
rules: {
// Put rules you want to override here
"@eslint-react/prefer-shorthand-boolean": "warn",
},
});
core
)"react"
.dom
)"react-dom"
.web-api
)recommended
)core
, dom
, and web-api
presets.Recommended TypeScript (recommended-typescript
)
Same as the recommended
preset but disables rules that can be enforced by TypeScript.
Recommended Type-Checked (recommended-type-checked
)
Same as the recommended-typescript
preset but enables additional rules that require type information.
Frequently Asked Questions β
antfu/eslint-config
- Anthony's ESLint config preset.eslint-config-rebeccastevens
- Rebecca's ESLint config preset.eslint-config-sheriff
- A comprehensive and opinionated Typescript-first ESLint configuration.eslint-config-sukka
- Sukka's ESLint config preset.Data collected from GitHub dependents network, if there are any mismatch or outdated information, feel free to open issue or pull request.
Find more on GitHub Dependents.
Please follow our contributing guidelines.
This project is licensed under the MIT License - see the LICENSE file for details.
v1.25.0 (2025-01-27)
ts-blank-eslint-parser
by @Rel1cxts-blank-eslint-parser
by @Rel1cxFAQs
More than 80 high-quality linting rules for writing better React code.
The npm package @eslint-react/eslint-plugin receives a total of 239,717 weekly downloads. As such, @eslint-react/eslint-plugin popularity was classified as popular.
We found that @eslint-react/eslint-plugin demonstrated a healthy version release cadence and project activity because the last version was released less than 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.
Security News
TypeScript is porting its compiler to Go, delivering 10x faster builds, lower memory usage, and improved editor performance for a smoother developer experience.
Research
Security News
The Socket Research Team has discovered six new malicious npm packages linked to North Koreaβs Lazarus Group, designed to steal credentials and deploy backdoors.
Security News
Socket CEO Feross Aboukhadijeh discusses the open web, open source security, and how Socket tackles software supply chain attacks on The Pair Program podcast.