Gathering detailed insights and metrics for eslint-plugin-putout
Gathering detailed insights and metrics for eslint-plugin-putout
Gathering detailed insights and metrics for eslint-plugin-putout
Gathering detailed insights and metrics for eslint-plugin-putout
putout
🐊 Pluggable and configurable code transformer with built-in ESLint, Babel and support of js, jsx, typescript, flow, markdown, yaml and json
@putout/plugin-eslint
🐊Putout plugin for eslint config
@putout/plugin-eslint-plugin
🐊Putout plugin for eslint config
@2chevskii/eslint-plugin-putout
Modified eslint-plugin-putout
🐊 Pluggable and configurable JavaScript Linter, code transformer and formatter, drop-in ESLint superpower replacement 💪 with built-in support for js, jsx, typescript, markdown, yaml and json. Write declarative codemods in a simplest possible way 😏
npm install eslint-plugin-putout
Typescript
Module System
Min. Node Version
Node Version
NPM Version
JavaScript (99%)
TypeScript (0.62%)
WebAssembly (0.19%)
HTML (0.16%)
CSS (0.02%)
Svelte (0.01%)
Total Downloads
0
Last Day
0
Last Week
0
Last Month
0
Last Year
0
MIT License
757 Stars
16,369 Commits
43 Forks
9 Watchers
46 Branches
24 Contributors
Updated on Jul 11, 2025
Latest Version
28.0.1
Package Id
eslint-plugin-putout@28.0.1
Unpacked Size
65.67 kB
Size
13.73 kB
File Count
44
NPM Version
11.4.2
Node Version
24.3.0
Published on
Jul 05, 2025
Cumulative downloads
Total Downloads
Last Day
0%
NaN
Compared to previous day
Last Week
0%
NaN
Compared to previous week
Last Month
0%
NaN
Compared to previous month
Last Year
0%
NaN
Compared to previous year
20
ESLint plugin for 🐊Putout with built-in rules from @putout/eslint-config.
npm i putout eslint eslint-plugin-putout -D
☝️If you installed eslint
globally (using the -g
flag) then you must also install putout
and eslint-plugin-putout
globally.
To use putout
as ESLint plugin you can use in eslint.config.js
1import putout from 'eslint-plugin-putout'; 2 3export default [ 4 rules: { 5 'putout/putout': 'error', 6 }, 7 plugins: { 8 putout, 9 }, 10];
Also you can import one of predefined preset:
Here is how it can look like:
1import {recommended} from 'eslint-plugin-putout'; 2 3export default recommended;
Or with defineConfig
:
1import {defineConfig} from 'eslint/config'; 2import putout from 'eslint-plugin-putout'; 3 4export default defineConfig({ 5 plugins: { 6 putout, 7 }, 8 extends: [ 9 "putout/recommended", 10 ] 11});
Then configure the rules you want to use under the rules section.
1{ 2 "rules": { 3 "putout/add-newlines-between-types-in-union": "error", 4 "putout/add-newlines-between-specifiers": "error", 5 "putout/add-newline-before-return": "error", 6 "putout/add-newline-before-function-call": "error", 7 "putout/add-newline-after-function-call": "error", 8 "putout/putout": "error", 9 "putout/array-element-newline": "error", 10 "putout/single-property-destructuring": "error", 11 "putout/multiple-properties-destructuring": "error", 12 "putout/long-properties-destructuring": "error", 13 "putout/destructuring-as-function-argument": "error", 14 "putout/align-spaces": "error", 15 "putout/newline-function-call-arguments": "error", 16 "putout/function-declaration-paren-newline": "error", 17 "putout/remove-newline-after-default-import": "error", 18 "putout/remove-newline-between-declarations": "error", 19 "putout/remove-newline-from-empty-object": "error", 20 "putout/remove-empty-newline-before-first-specifier": "error", 21 "putout/remove-empty-newline-after-last-specifier": "error", 22 "putout/remove-empty-newline-after-last-element": "error", 23 "putout/remove-empty-newline-after-import": "error", 24 "putout/remove-empty-specifiers": "error", 25 "putout/objects-braces-inside-array": "error", 26 "putout/object-property-newline": "error", 27 "putout/tape-add-newline-between-tests": "error", 28 "putout/tape-add-newline-before-assertion": "error", 29 "putout/tape-remove-newline-before-t-end": "error" 30 } 31}
When using 🐊Putout in IDE with --fix
on save, or when you want to disable the most dangerous rules, use:
1import {safe} from 'eslint-plugin-putout'; 2 3export default safe;
Disabled ESLint rules:
Disabled 🐊Putout rules:
apply-template-literals
;convert-template-to-string
;remove-empty
;merge-duplicate-functions
;nodejs/remove-process-exit
;remove-unused-variables
;typescript/remove-unused-types
;remove-unused-expressions
;remove-unreferenced-variables
;remove-useless-arguments
;return/remove-useless
;remove-useless-spread
;remove-useless-variables
;tape/remove-skip
;tape/remove-only
;remove-console
;remove-debugger
;remove-unreachable-code
;for-of/for
;for-of/remove-useless
;for-of/remove-unused-variables
;maybe/noop
;remove-useless-push
;When you want to enable ability to align spaces on empty lines, while have all benefits of safe
preset: use safeAlign
.
When you need to support jsx
in files using js
extension, use:
1import {jsx} from 'eslint-plugin-putout; 2 3export default jsx;
MIT
No vulnerabilities found.
Reason
30 commit(s) and 1 issue activity found in the last 90 days -- score normalized to 10
Reason
no dangerous workflow patterns detected
Reason
license file detected
Details
Reason
0 existing vulnerabilities detected
Reason
no binaries found in the repo
Reason
Found 0/30 approved changesets -- score normalized to 0
Reason
detected GitHub workflow tokens with excessive permissions
Details
Reason
security policy file not detected
Details
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
no SAST tool detected
Details
Reason
dependency not pinned by hash detected -- score normalized to 0
Details
Reason
project is not fuzzed
Details
Score
Last Scanned on 2025-07-07
The Open Source Security Foundation is a cross-industry collaboration to improve the security of open source software (OSS). The Scorecard provides security health metrics for open source projects.
Learn More