observablehq / prettier-react-tachyons Goto Github PK
View Code? Open in Web Editor NEWA prettier transform for React and Tachyon users.
License: MIT License
A prettier transform for React and Tachyon users.
License: MIT License
className={`inline-flex f6 items-center inline-flex pa1 ${creator.following
? "black-70 bg-white"
: "black-20"} hover-bg-light-gray ba b--black-10 br2 fw5 pointer`}
I've been punting on this one, but... it's possible and I should think about handling it, at least.
pv2 ph2
should automatically be replaced with pa2
, and so on.
Just a token of appreciation from Accurat developers team ๐
Do you have any idea if it would be difficult to implement as an eslint
plugin?
When using this parser, I get a Prettier: failed to parse buffer
error for markdown files. I'm just editing a README in a pretty standard app using create-react-app
Here's my prettier config from package.json
:
"prettier": {
"parser": "./node_modules/@observablehq/prettier-react-tachyons",
"autoformat": 0,
"semi": false,
"arrowParens": "avoid",
"trailingComma": "none",
"jsxBracketSameLine": false,
"bracketSpacing": true,
"singleQuote": true
}
Hey, first congrats on this project, it's awesome!
I wanted to try it with prettier-atom since it runs prettier on the file save, but it's not working, I'm getting this error even after having installed the dependency.
Any way it could work with the atom editor?
This diff is wrong:
- className="flex-column w2 items-stretch black-50 hover-bg-light-gray ba b--black-10 br2 inline-flex pointer overflow-hidden"
+ className="flex-column inline-flex w2 items-stretch black-50 hover-bg-light-gray ba b--black-10 br2 pointer overflow-hidden"
flex-column
is being treated like it's a variation of flex like flex-ns
but it should not be, it only augments a flex
or inline-flex
class.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.