
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.
@krauters/eslint-config
Advanced tools
Modern TypeScript/React ESLint configuration with unified stylistic rules.
This configuration integrates ESLint and TypeScript ESLint, built to ensure clean, consistent, and maintainable code in JavaScript and TypeScript projects.
Feedback Loops: In DevOps, feedback loops are essential. Realtime linting gives developers instant insight, allowing faster fixes and smoother workflows. So, configure your IDE to provide linting feedback as you type.
Code Consistency: Linting ensures uniform coding standards across the team, reducing errors and enhancing collaboration by maintaining clarity and readability.
All linting rules are defined in rules.js. This configuration offers a strong foundation suitable for most projects, promoting code quality from the start while remaining flexible for customization.
# Check if your code passes lint rules
npm run lint
# Fix what can be auto-fixed
npm run fix
npm install @krauters/eslint-config --save-dev
eslint.config.js to the root of your project with the following contents,// eslint.config.js
import eslintConfig from '@krauters/eslint-config'
export default eslintConfig
// eslint.config.js
const eslintConfig = require('@krauters/eslint-config')
module.exports = eslintConfig
{
...
"scripts": {
"test": "npm run lint",
"lint": "npx eslint src/**",
"fix": "npm run lint -- --fix"
}
}
## Lint
This package uses [@krauters/eslint-config](https://github.com/krauters/eslint-config).
```zsh
# Check if your code follows the rules
npm run lint
# Fix what can be auto-fixed
npm run fix
```
npm run lint
npm run fix
Want to test this linting config locally between two repos? Easy.
npm link
npm link @krauters/eslint-config
npm unlink @krauters/eslint-config
To control the behavior of how this package gets it's tsconfig file, you can set the following environment variables:
ESLINT_DEBUG: Enables detailed debug logging. Set this to any truthy value, e.g., 1 or true.ESLINT_TSCONFIG: Overrides the default target file being searched. Defaults to tsconfig.eslint.json.ESLINT_START_DIR: Specifies the starting directory for the search. Defaults to the current working directory (process.cwd()).ESLINT_TSCONFIG_FALLBACK: Sets a fallback file to use if the target file is not found. Defaults to tsconfig.json.To troubleshoot your ESLint configuration, use the following commands:
# Print the full ESLint config for a specific file that you want to lint
npx eslint --print-config test/auth-service.test.ts | grep tsconfig
# Enable debug logging while running ESLint
ESLINT_DEBUG=true npx eslint .
The goal of this project is to continually evolve and improve its core features, making it more efficient and easier to use. Development happens openly here on GitHub, and we’re thankful to the community for contributing bug fixes, enhancements, and fresh ideas. Whether you're fixing a small bug or suggesting a major improvement, your input is invaluable.
This project is licensed under the ISC License. Please see the LICENSE file for more details.
Thanks for spending time on this project.
FAQs
Modern TypeScript/React ESLint configuration with unified stylistic rules.
We found that @krauters/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.