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-sensible-prettier-typescript
Advanced tools
Sensible default eslint rules and prettier rules for Typescript projects
Sensible default eslint rules and prettier rules for Typescript projects
npm i -D eslint-config-sensible-prettier-typescript
Or you can get it installed through handy-common-utils/dev-dependencies:
npm i -D @handy-common-utils/dev-dependencies-mocha
npm i -D @handy-common-utils/dev-dependencies-jest
In your .eslintrc.js
:
/* eslint-disable unicorn/prefer-module, node/no-extraneous-require, unicorn/prefer-module */
require('@rushstack/eslint-patch/modern-module-resolution');
module.exports = {
extends: [
'sensible-prettier-typescript',
],
parserOptions: { tsconfigRootDir: __dirname },
// place your customisation here
};
Or in your .eslintrc.json
:
{
"extends": "sensible-prettier-typescript"
}
And in your prettier.config.js
or .prettierrc.js
:
const config = require('eslint-config-sensible-prettier-typescript/prettier.config');
module.exports = {
...config,
// place your customisation here
};
Upgrade all dependencies:
npx npm-check-updates -u && npm install && npm audit fix
FAQs
Sensible default eslint rules and prettier rules for Typescript projects
The npm package eslint-config-sensible-prettier-typescript receives a total of 24 weekly downloads. As such, eslint-config-sensible-prettier-typescript popularity was classified as not popular.
We found that eslint-config-sensible-prettier-typescript 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.