prettier-eslint
gts
prettier-eslint | gts | |
---|---|---|
6 | 4 | |
3,932 | 4,940 | |
0.5% | 0.7% | |
6.2 | 8.5 | |
about 4 hours ago | 3 days ago | |
JavaScript | TypeScript | |
MIT License | Apache License 2.0 |
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.
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.
gts
- Typescript template for Leetcode grinding
-
Prettier and how to get most out of it
// https://github.com/google/gts/blob/main/.prettierrc.json { "bracketSpacing": false, "singleQuote": true, "trailingComma": "es5", "arrowParens": "avoid" }
-
Couple super basic Typescript questions from a newbie: how to compile and how to start learning
If you want to write apps that run on Node.js I would suggest using Google’s TypeScript style guide. You can start using it by simply running npx gts init. I’d suggest that you start with this and run your apps using ts-node/ts-node-dev because it does not require an extra build step.
-
Start a new typescript project with gts and esbuild
To minize the effort gts is a nice tool to help you setting up the project. Our of deployment/devliver purposes we also want to bundle the code to create nice and small artifacts. For those purposes we use esbuild. The whole example can be found here
What are some alternatives?
twin.examples - Packed with examples for different frameworks, this repo helps you get started with twin a whole lot faster.
prettierd - prettier, as a daemon, for improved formatting speed.
prettier-eslint-cli - CLI for prettier-eslint
Eucalyptus - Eucalyptus Cloud-computing Platform
react-webpack-5-tailwind-2 - React 17 Boilerplate with Webpack 6, Tailwind 2, using babel, SASS/PostCSS, HMR, dotenv and an optimized production build
prettier-vscode - Visual Studio Code extension for Prettier
eslint-plugin-prettier - ESLint plugin for Prettier formatting
Cobbler - Cobbler is a versatile Linux deployment server
eslint-config-prettier - Turns off all rules that are unnecessary or might conflict with Prettier.
tidier - The file & folder name formatter
linters - CSSSR's linting configs for Prettier and ESLint.
OpenStack Tracking Repo - Repository tracking all OpenStack repositories as submodules. Mirror of code maintained at opendev.org.