Gathering detailed insights and metrics for @putout/plugin-putout-config
Gathering detailed insights and metrics for @putout/plugin-putout-config
Gathering detailed insights and metrics for @putout/plugin-putout-config
Gathering detailed insights and metrics for @putout/plugin-putout-config
🐊 Pluggable and configurable JavaScript Linter, code transformer and formatter, drop-in ESLint superpower replacement 💪 with built-in support for js, jsx, typescript, flow, markdown, yaml and json. Write declarative codemods in a simplest possible way 😏
npm install @putout/plugin-putout-config
Typescript
Module System
Min. Node Version
Node Version
NPM Version
65.6
Supply Chain
89.7
Quality
89.7
Maintenance
100
Vulnerability
97.9
License
JavaScript (99.09%)
TypeScript (0.65%)
HTML (0.17%)
WebAssembly (0.05%)
CSS (0.02%)
Svelte (0.01%)
Total Downloads
1,497,948
Last Day
2,591
Last Week
10,964
Last Month
48,483
Last Year
663,530
722 Stars
14,734 Commits
41 Forks
10 Watching
46 Branches
24 Contributors
Minified
Minified + Gzipped
Latest Version
7.3.0
Package Id
@putout/plugin-putout-config@7.3.0
Unpacked Size
26.13 kB
Size
6.16 kB
File Count
21
NPM Version
10.9.0
Node Version
20.18.1
Publised On
28 Dec 2024
Cumulative downloads
Total Downloads
Last day
-2.2%
2,591
Compared to previous day
Last week
-7.6%
10,964
Compared to previous week
Last month
-1.6%
48,483
Compared to previous month
Last year
81.7%
663,530
Compared to previous year
1
🐊Putout plugin helps with 🐊Putout Config.
npm i @putout/plugin-putout-config -D
1{ 2 "rules": { 3 "putout-config/apply-conditions": "on", 4 "putout-config/apply-esm": "on", 5 "putout-config/apply-for-of": "on", 6 "putout-config/apply-labels": "on", 7 "putout-config/apply-math": "on", 8 "putout-config/apply-nodejs": "on", 9 "putout-config/apply-optional-chaining": "on", 10 "putout-config/apply-parens": "on", 11 "putout-config/apply-tape": "on", 12 "putout-config/apply-types": "on", 13 "putout-config/apply-promises": "on", 14 "putout-config/convert-boolean-to-string": "on", 15 "putout-config/move-formatter-up": "on", 16 "putout-config/remove-empty": "on", 17 "putout-config/remove-empty-file": "off", 18 "putout-config/rename-rules": "on" 19 } 20}
Apply esm
according to:
1{ 2 "rules": { 3- "remove-empty/import": "on", 4- "remove-empty/export": "on", 5+ "esm/remove-empty-import": "on", 6+ "esm/remove-empty-export": "on", 7- "convert-assert-to-with": "off", 8- "group-imports-by-source": "on", 9- "declare-imports-first": "on", 10- "remove-quotes-from-import-assertions": "on", 11- "merge-duplicate-imports": "on" 12+ "esm/convert-assert-to-with": "off", 13+ "esm/group-imports-by-source": "on", 14+ "esm/declare-imports-first": "on", 15+ "esm/remove-quotes-from-import-assertions": "on", 16+ "esm/merge-duplicate-imports": "on" 17 } 18}
Apply parens
according to:
1{ 2 "rules": { 3- "add-missing-parens": "on" 4+ "parens/add-missing": "on" 5 } 6}
Apply optional-chaining
according to:
1{ 2 "rules": { 3- "convert-optional-to-logical/assign": "on", 4- "convert-optional-to-logical/call": "off", 5+ "optional-chaining/convert-optional-assign-to-logical": "on", 6+ "optional-chaining/convert-optional-to-logical": "off" 7- "apply-optional-chaining/assign": "off" 8- "apply-optional-chaining/use": "on" 9+ "optional-chaining/convert-logical-assign-to-optional": "off", 10+ "optional-chaining/convert-logical-to-optional": "off" 11 } 12}
Apply conditions
according to:
1{ 2 "rules": { 3- "apply-comparison-order": "off" , 4- "apply-if-condition": "off", 5- "convert-comparison-to-boolean": "off", 6- "convert-equal-to-strict-equal": "off", 7- "remove-useless-conditions/evaluate": "off", 8- "remove-useless-conditions/simplify": "off", 9- "convert-comparison-to-boolean": "off", 10- "remove-constant-conditions": "off", 11- "remove-boolean-from-assertions": "off", 12+ "conditions/apply-comparison-order": "off", 13+ "conditions/apply-if": "off", 14+ "conditions/convert-comparison-to-boolean": "off", 15+ "conditions/convert-equal-to-strict-equal": "off", 16+ "conditions/evaluate": "off" 17+ "conditions/simplify": "off", 18+ "conditions/convert-comparison-to-boolean": "off", 19+ "conditions/remove-constant": "off", 20+ "conditions/remove-boolean": "off" 21 } 22}
1{ 2 "rules": { 3- "remove-useless-else": "off", 4- "merge-if-statements": "off" 5+ "conditions/remove-useless-else": "off", 6+ "conditions/merge-if-statements": "off" 7 } 8}
Apply for-of
according to 🐊Putout v29.
1{ 2 "rules": { 3- "convert-for-to-for-of": "off", 4- "convert-for-each-to-for-of": "off", 5- "convert-for-in-to-for-of": "off", 6- "convert-map-to-for-of": "off", 7- "remove-useless-for-of": "off", 8- "remove-unused-for-of-variables": "off", 9- "remove-useless-array-from": "off", 10- "remove-useless-variables/for-of": "off" 11- "convert-reduce-to-for-of": "off", 12+ "for-of/for": "off", 13+ "for-of/for-each": "off", 14+ "for-of/for-in": "off", 15+ "for-of/map": "off", 16+ "for-of/remove-useless": "off", 17+ "for-of/remove-unused-variables": "off", 18+ "for-of/remove-useless-array-from": "off", 19+ "for-of/remove-useless-variables": "off", 20+ "for-of/reduce": "off" 21 } 22}
Apply labels
according to 🐊Putout v36. Checkout in 🐊Putout Editor.
1{ 2 "rules": { 3 "remove-unused-labels": "on", 4 "convert-label-to-object": "on" 5 } 6}
1{ 2 "rules": { 3 "labels/remove-unused": "on", 4 "labels/convert-to-object": "on" 5 } 6}
Apply math
according to 🐊Putout v28.
1{ 2 "rules": { 3- "convert-math-pow": "off", 4- "apply-numeric-separators": "off", 5- "convert-imul-to-multiplication": "off", 6- "convert-sqrt-to-hypot": "off" 7+ "math/apply-exponential": "off", 8+ "math/apply-numeric-separators": "off", 9+ "math/apply-multiplication": "off", 10+ "math/convert-sqrt-to-hypot": "off" 11 } 12}
Apply nodejs
according to:
1{ 2 "rules": { 3- "convert-top-level-return": "off", 4+ "nodejs/convert-top-level-return": "off" 5- "remove-process-exit": "off" 6+ "nodejs/remove-process-exit": "off" 7 } 8}
1{ 2 "rules": { 3- "convert-esm-to-commonjs": "on", 4- "convert-commonjs-to-esm": "on' 5+ "nodejs/convert-esm-to-commonjs": "on", 6+ "nodejs/convert-commonjs-to-esm": "on' 7 } 8}
1{ 2 "rules": { 3- "strict-mode/add-missing": "off", 4- "strict-mode/remove-useless": "off" 5+ "nodejs/remove-useless-strict-mode": "off", 6+ "nodejs/add-missing-strict-mode": "off" 7}
Apply promises
according to:
1{ 2 "rules": { 3- "remove-useless-variables/await": "off", 4+ "promises/remove-useless-variables": "off" 5 } 6}
Apply tape
according to:
1{ 2 "rules": { 3 "convert-mock-require-to-mock-import": "off" 4 } 5}
1{ 2 "rules": { 3 "tape/convert-mock-require-to-mock-import": "off" 4 } 5}
Apply types
according to:
1{ 2 "rules": { 3- "convert-typeof-to-is-type": "off" , 4- "remove-useless-type-conversions": "off", 5- "remove-useless-typeof": "off", 6- "apply-is-array": "off", 7- "remove-useless-type-conversion/with-double-negations": "off", 8+ "types/convert-typeof-to-is-type": "off", 9+ "types/remove-useless-conversion": "off", 10+ "types/remove-double-negations": "off", 11+ "types/remove-useless-typeof": "off", 12+ "types/apply-is-array": "off", 13+ "types/remove-double-negations": "off" 14 } 15}
1{ 2 "rules": { 3 "remove-unused-variables": true, 4 "remove-debugger": false 5 } 6}
1{ 2 "rules": { 3 "remove-unused-variables": "on", 4 "remove-debugger": "off" 5 } 6}
Checkout in 🐊Putout Editor.
1{ 2 "parser": "babel", 3 "rules": { 4 "remove-unused-variables": "off" 5 }, 6 "formatter": "progress-bar" 7}
1{ 2 "parser": "babel", 3 "formatter": "progress-bar", 4 "rules": { 5 "remove-unused-variables": "off" 6 } 7}
1{ 2 "rules": {}, 3 "plugins": [], 4 "match": { 5 "*.js": { 6 "remove-unused-variables": "off" 7 } 8 } 9}
1{ 2 "match": { 3 "*.js": { 4 "remove-unused-variables": "off" 5 } 6 } 7}
Checkout in 🐊Putout Editor.
When .putout.json
content is:
1{}
It has no sense and removed:
1 / 2 `-- / 3- `-- .putout.json
Rename rules according to:
1{ 2 "rules": { 3- "declare-undefined-variables": "off" , 4+ "declare": "off", 5- "apply-maybe": "off" , 6+ "maybe": "off", 7- "apply-array-at": "off", 8+ "apply-at": "off", 9 } 10}
1{ 2 "rules": { 3- "strict-mode/add": "off", 4- "strict-mode/remove": "off", 5+ "strict-mode/add-missing": "off", 6+ "strict-mode/remove-useless": "off", 7 } 8}
MIT
No vulnerabilities found.
Reason
30 commit(s) and 4 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
no effort to earn an OpenSSF best practices badge detected
Reason
security policy file not detected
Details
Reason
detected GitHub workflow tokens with excessive permissions
Details
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-01-27
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