
Company News
Socket Named Top Sales Organization by RepVue
Socket won two 2026 Reppy Awards from RepVue, ranking in the top 5% of all sales orgs. AE Alexandra Lister shares what it's like to grow a sales career here.
@rgorai/eslint-config
Advanced tools
Ron Gorai's linting configuration for TypeScript-based React apps.
Use my ESLint, Stylelint, and Prettier settings in your project and lint your codebase on demand with a simple CLI command.
This configuration is designed to be used for TypeScript, React, CSS, and Node.js, but could work for other configurations as well.
Please visit my NPM platform to view a demo of this package.
yarn add -D @rgorai/eslint-configInstall the package as a dev dependency.
yarn add -D typescript-eslint eslint eslint-config-prettier eslint-plugin-import eslint-plugin-prettier eslint-plugin-react eslint-plugin-react-hooks prettier typescriptInstall peer dependencies.
If you need Stylelint, add the following: stylelint stylelint-config-standard stylelint-prettier
eslint.config.mjs file.Feel free to spread your own config options here as well. It is recommended to reload your VS Code window after this step in order for the ESLint, Prettier, and Stylelint extensions (if you have them) to properly utilize the installed config files.
import rgoraiConfig from '@rgorai/eslint-config'
export default rgoraiConfig
If you are using Next.js ESLint plugins, then you must import the base config instead.
import { rgoraiConfigBase } from '@rgorai/eslint-config'
export default [
...compat.extends('next/core-web-vitals', 'next/typescript'),
...rgoraiConfigBase,
]
package.json file."prettier": "@rgorai/eslint-config/.prettierrc.mjs",
"stylelint": {
"extends": "@rgorai/eslint-config/stylelint.config.mjs"
},
// if you use lint-staged
"lint-staged": {
"**/*.{ts,tsx,js,jsx,mjs,cjs}": "yarn lint"
}
settings.json to disable highlighting for Prettier."eslint.rules.customizations": [
{
"rule": "prettier/prettier",
"severity": "off"
}
]
yarn lint to format manually.Lint all .tsx, .ts, .jsx, .js, .cjs, and .mjs (plus .css if using stylelint) files in your NPM project at once.
If using Next.js, you must remove the existing script in your package.json to use this command.
FAQs
Ron Gorai's linting configuration for TypeScript-based React apps.
We found that @rgorai/eslint-config 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.

Company News
Socket won two 2026 Reppy Awards from RepVue, ranking in the top 5% of all sales orgs. AE Alexandra Lister shares what it's like to grow a sales career here.

Security News
NIST will stop enriching most CVEs under a new risk-based model, narrowing the NVD's scope as vulnerability submissions continue to surge.

Company News
/Security News
Socket is an initial recipient of OpenAI's Cybersecurity Grant Program, which commits $10M in API credits to defenders securing open source software.