/* eslint-plugin-disable */functiongreet(name){console.log('Hi, '+ name); } Disable all except Another custom option allows to disable all plugins except ones that are specified. It might be useful when there are a lot of plugins in the project and it is required to use one or two ...
:sparkles: Monorepo for all the tooling which enables ESLint to support TypeScript - chore: disable eslint-plugin-perfectionist on enums (#9883) · typescript-eslint/typescript-eslint@cc50e62
/* eslint-plugin-disable react */functiongreet(name){console.log('Hi, '+name);} Example: file path patterns (.eslintrc): {"plugins": ["react","disable"],"processor":"disable/disable","overrides": [ {"files": ["tests/**/*.test.js"],"settings": {"disable/plugins": ["react"...
You'll first need to installESLint: $ npm i eslint --save-dev Next, installeslint-plugin-disablesize: $ npm install eslint-plugin-disablesize --save-dev Usage Adddisablesizeto the plugins section of your.eslintrcconfiguration file. You can omit theeslint-plugin-prefix: ...
An ESLint plugin to lint files with eslint-env comments using the flat config. - Disable ESLint Stylistic `max-len` rule by default · origin-1/eslint-plugin-eslint-env@39bcea1
Use it $yarn add eslint-plugin-disable-features Try in RunKit·Browse Files Popularity GitHub stargazers 3 Downloads last 30 days 14.2k jsDelivr last 30 days 0 Dependents 0 Tags latest 0.1.3 next 0.2.0-0 Contributors brendenpalmer
A free, fast, and reliable CDN for eslint-plugin-disable-checker. This plugin throw errors at each eslint-disable comment inside the code
In theory, someone might be on TypeScript <5.6 and the latest version of typescript-eslint. This would reduce their linter surface area. But we already have @typescript-eslint/no-unnecessary-condition. 💖 feat(eslint-plugin): disable no-constant-condition in eslint-recommended Verified 35bd...
1 change: 1 addition & 0 deletions 1 packages/eslint-plugin/src/configs/eslint-recommended-raw.ts Original file line numberDiff line numberDiff line change @@ -22,6 +22,7 @@ const config = ( rules: { 'constructor-super': 'off', // ts(2335) & ts(2377) 'getter-return': '...
npm i -D eslint-plugin-disable-autofix Configure Import and includedisable-autofixin thepluginsobject Add prefixdisable-autofix/to the rule and disable the original importdisableAutofixfrom'eslint-plugin-disable-autofix';exportdefault[{plugins:{'disable-autofix':disableAutofix,},rules:{'prefer-const'...