carbonate
prettier-eslint
carbonate | prettier-eslint | |
---|---|---|
1 | 6 | |
237 | 3,934 | |
- | 0.5% | |
0.0 | 6.2 | |
about 2 years ago | 13 days ago | |
JavaScript | JavaScript | |
MIT License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
carbonate
-
Show HN: Ray.so – Create beautiful images of your code
I see folks wondering about the use case - so here's one: I created a Github Action for use in Github Actions. The benefits:
- Easy to view and understand the image of the code v/s the code block text when using a mobile device. Why? Easier to scroll images v/s text.
- Members will no longer have to rely on the issue reporters and commenters to format their code blocks correctly. Using the in built formatter, the code is always structured properly
- Maintainers can style the code blocks to suit their project's language and guidelines and not put the onus of this on the issue reporter / commenter
Reference: https://github.com/callmekatootie/carbonate
I used Carbon to generate the images in this case - but you get the gist of what one can use images of code for
prettier-eslint
-
help with create-react-app and eslint/prettier
Use the other one, prettier-eslint this is so that the code goes through Prettier before ESLint and not the other way around causing it to show issues that will be fixed once ESLint fixes it.
- Prettier and how to get most out of it
-
Why can't they tho?
Same, I can't stand some of prettier's opinions/style conversions and they refuse to add more options to their config file, so people literally have to make an entirely separate plugin just to deal with the issue of its config not being able to match your eslint config.
-
Setting up ESLint & Prettier in ViteJS
prettier-eslint
-
I always have a hard time configuring my projects
side note: you can use prettier-eslint (as opposed to the prettier eslint plugin) which runs prettier and then eslint --fix. that way you won't get annoyed by a shit ton red lines from eslint linting with prettier.
-
Boilerplate with React 17, Webpack 5, Tailwind 2, using babel, sass, with a hot dev server and an optimized production build
And I just ripped out my prettierrc/prettier recently, and still need some tweaking in this area, and might even add it it back. After looking at that plugin, it looks like it just DISABLES things in ESLint that Prettier handles, so you might have to add the prettier script and a .prettierrc config file. At least that is how I understand it. I was just looking at prettier's docs and saw this though - https://github.com/prettier/prettier-eslint, which seems like it might be what you are looking for.
What are some alternatives?
vscode-textmate - A library that helps tokenize text using Text Mate grammars.
twin.examples - Packed with examples for different frameworks, this repo helps you get started with twin a whole lot faster.
silicon - Create beautiful image of your source code.
prettier-eslint-cli - CLI for prettier-eslint
react-webpack-5-tailwind-2 - React 17 Boilerplate with Webpack 6, Tailwind 2, using babel, SASS/PostCSS, HMR, dotenv and an optimized production build
node-imgur - Upload images to imgur.com
eslint-plugin-prettier - ESLint plugin for Prettier formatting
carbon - :black_heart: Create and share beautiful images of your source code
eslint-config-prettier - Turns off all rules that are unnecessary or might conflict with Prettier.
prettier-plugin-apex - Code formatter for the Apex Programming Language
linters - CSSSR's linting configs for Prettier and ESLint.