
Product
Announcing Socket Fix 2.0
Socket Fix 2.0 brings targeted CVE remediation, smarter upgrade planning, and broader ecosystem support to help developers get to zero alerts.
prettier-plugin-delete-eslint-disable
Advanced tools
Plugin for prettier. Which removes the eslint-disable rules when editing a file and many other useful things
Plugin for prettier. Which removes the eslint-disable rules when editing a file and many other useful things
npm prettier-plugin-delete-eslint-disable
install
yarn
yarn add -D prettier-plugin-delete-eslint-disable
or
npm
npmm install --save-dev prettier-plugin-delete-eslint-disable
/* eslint-disable */
in ours code.prettierrc
{
//...,
"deleteEslintDisable": true
}
not remove comment /* eslint-disable */
with comment in ours file // eslint-disable-remove-ignore
// eslint-disable-remove-ignore
/* eslint-disable */
in prettier-plugin-delete-eslint-disable project
npm link
other project
npm link prettier-plugin-delete-eslint-disable
when ending development other project
npm unlink prettier-plugin-delete-eslint-disable
yalc
install
npm install -g yalc
or
yarn global add yalc
after the package is ready for verification, run...
npm run local:push
or
yarn local:push
add this script in yours package.json
file
npm
"link:prettier-plugin-delete-eslint-disable": "yalc add prettier-plugin-delete-eslint-disable && yalc link prettier-plugin-delete-eslint-disable && npm install"
and run
npm run link:prettier-plugin-delete-eslint-disable
yarn
"link:prettier-plugin-delete-eslint-disable": "yalc add prettier-plugin-delete-eslint-disable && yalc link prettier-plugin-delete-eslint-disable && yarn"
yarn link:prettier-plugin-delete-eslint-disable
Both the .yalc directory and yalc.lock file that Yalc creates in the root of your Git repo are not intended to be committed to Git.
Therefore it’s probably best to add them to the .gitignore file:
# Yalc
/.yalc
yalc.lock
npm
"unlink:prettier-plugin-delete-eslint-disable": "yalc remove prettier-plugin-delete-eslint-disable && npm install",
npm run unlink:prettier-plugin-delete-eslint-disable
yarn
"unlink:prettier-plugin-delete-eslint-disable": "yalc remove prettier-plugin-delete-eslint-disable && yarn"
yarn unlink:prettier-plugin-delete-eslint-disable
FAQs
Plugin for prettier. Which removes the eslint-disable rules when editing a file and many other useful things
The npm package prettier-plugin-delete-eslint-disable receives a total of 78 weekly downloads. As such, prettier-plugin-delete-eslint-disable popularity was classified as not popular.
We found that prettier-plugin-delete-eslint-disable 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.
Product
Socket Fix 2.0 brings targeted CVE remediation, smarter upgrade planning, and broader ecosystem support to help developers get to zero alerts.
Security News
Socket CEO Feross Aboukhadijeh joins Risky Business Weekly to unpack recent npm phishing attacks, their limited impact, and the risks if attackers get smarter.
Product
Socket’s new Tier 1 Reachability filters out up to 80% of irrelevant CVEs, so security teams can focus on the vulnerabilities that matter.