π Pluggable and configurable JavaScript Linter, code transformer and formatter with built-in ESLint and Babel support for js, jsx typescript, flow, markdown, yaml and json. Write declarative codemods in a simplest possible way π
MIT License
Published by coderaiser almost 3 years ago
Published by coderaiser almost 3 years ago
Published by coderaiser almost 3 years ago
βWhen you look at a tree, se it for its leafs, its branches, its trunk and the roots, then and only then will you see the treeβ
Takuan Soho, The Unfettered Mind: Writings of the Zen Master to the Sword Master
Published by coderaiser almost 3 years ago
Published by coderaiser almost 3 years ago
Published by coderaiser almost 3 years ago
ImportSpecifier
level ImportKind
Since TypeScript 4.5 to import type
we can use:
import {type Identifier} from '@babel/types`;
Such way of importing types
was supported before:
import type {Identifier} from '@babel/types`;
But if we wan to merge a couple import statements
into one - we couldn't, but now we can!
And next code:
import {createIdentifier} from '@babel/types';
import type {Identifier} from '@babel/types`;
Can be switched to:
import {
type Identifier,
createIdentifier
} from '@babel/types';
Thanks to brand new @putout/plugin-merge-duplicate-imports π !
Published by coderaiser almost 3 years ago
remove-only
and remove-skip
now part of @putout/plugin-tape
Unis is Sobek, green of plumage, with alert face and raised fore, the splashing one who came from the thigh and tail of the great goddess in the sunlight
(c) wiki/Sobek
If you disabled this rules update your .putout.json
with:
{
"rules": {
- "remove-only": "off",
- "remove-skip": "off"
+ "tape/remove-only": "off",
+ "tape/remove-skip": "off"
}
}
Published by coderaiser almost 3 years ago
Published by coderaiser almost 3 years ago
Published by coderaiser almost 3 years ago
Published by coderaiser about 3 years ago
A monk asked Zhaozhou Congshen, a Chinese Zen master "Has a dog Buddha-nature or not?"
Zhaozhou answered, "WΓΊ".(c) "The Gateless Gate"
Just landed π²The Tree of Syntax chapter. It has some information about the way how things made in πPutout
in the bottom level.
Published by coderaiser about 3 years ago
Published by coderaiser about 3 years ago
Published by coderaiser about 3 years ago
Published by coderaiser about 3 years ago
Published by coderaiser about 3 years ago
Published by coderaiser about 3 years ago
Published by coderaiser about 3 years ago
Published by coderaiser about 3 years ago
Published by coderaiser about 3 years ago