Security News
Weekly Downloads Now Available in npm Package Search Results
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.
eslint-config-ts-strict
Advanced tools
Very strict ESLint config for projects using TypeScript, React and Prettier
Strongly opinionated ESLint config for projects using TypeScript, React and Prettier.
Install my-project with npm
or yarn
npm i eslint-config-ts-strict
yarn add eslint-config-ts-strict --dev
After installing the package, you can use it in your ESLint configuration file by extending the ts-strict configuration:
{
"extends": ["ts-strict", "plugin:prettier/recommended"],
"parserOptions": {
"project": "./tsconfig.json",
"ecmaVersion": "latest"
}
}
The ts-strict
configuration extends the following ESLint configurations:
eslint:recommended
plugin:@typescript-eslint/recommended
plugin:@typescript-eslint/recommended-requiring-type-checking
plugin:import/recommended
plugin:import/typescript
plugin:jsx-a11y/recommended
It also includes additional rules to enforce strict coding standards. The individual rule sets are located in the rules/
directory and can be extended separately if desired.
Contributions are always welcome!
If you find a bug or have a suggestion for improvement, please open an issue or submit a pull request.
FAQs
Very strict ESLint config for projects using TypeScript, React and Prettier
The npm package eslint-config-ts-strict receives a total of 415 weekly downloads. As such, eslint-config-ts-strict popularity was classified as not popular.
We found that eslint-config-ts-strict demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers 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
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.
Security News
A Stanford study reveals 9.5% of engineers contribute almost nothing, costing tech $90B annually, with remote work fueling the rise of "ghost engineers."
Research
Security News
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.