|2 days ago||4 days ago|
|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.
Effective Refactoring with Codemods
5 projects | dev.to | 30 Jan 2023
Have you ever used a transpiler, a linter or a code formatter, such as: Babel, ESLint or Prettier? If the answer is yes, then you've already used metaprogramming! 👏
20 Best Libraries and Tools for React Developers
11 projects | dev.to | 25 Jan 2023
x=10 vs let x=10
Best: set up an IDE (Visual Studio Code is free and an industry standard) and configure ESLint and the ESLint extension for your IDE so that you can catch errors like this before even running your script.
10 VS Code Extensions I Couldn’t Live Without
2 projects | dev.to | 19 Jan 2023
React Library Builder using Rollup.js and Storybook
5 projects | dev.to | 17 Jan 2023
Linting is an important step in maintaining code quality, The React Library Builder uses ESLint and eslint-config-prettier for linting. You can modify linting rules by overriding them in the .eslintrc file.
Setup for Telescope
3 projects | dev.to | 9 Jan 2023
Setup When I open the project in VS Code, it prompts me about ESlint and Docker apps that the project uses, so I make sure to have them. I run pnpm install command to install dependencies in the project while I'm in the project's directory folder. There are different ways to run the project in the documentation, and I want to run both frontend and backend, so I run pnpm services:start to run the project locally. If Docker is running, it should setup to host the project locally. Be sure to run pnpm services:stop when you are done, and clear the cache if you need to. If I need to use the database in some way, like testing login, I make sure to run cp ./src/db/env.example .env to get the right env file copy and then run pnpm db:init to setup the database.
Tech stack discussion
8 projects | reddit.com/r/PWA | 8 Jan 2023
ESLint to set some rules the code should abide by
Starting React Native Project in 2023
13 projects | dev.to | 6 Jan 2023
We can use TypeScript compiler and ESLint for this.
6 ways we improved our documentation in 2022
6 projects | dev.to | 3 Jan 2023
Similar to how a software has integration or unit tests that are built to make sure changes in the software don’t break the entire system, we implemented tests for our documentation’s style guide using Vale and ESLint.
Testing in ReScript
8 projects | dev.to | 2 Jan 2023
If you are afraid of test code leaking into the application. You can use eslint to prevent this:
Is possible to display human readable JS from websites?
You can use an online service like beautifier.io to try to clean it up a bit. There is no way to get the original human readable JS back though. If you are interested in reading source code, you might have more luck looking at repos on GitHub, which will not be minified.
How do I make a JS file like this more readable automatically?
2 projects | reddit.com/r/vscode | 6 May 2022
Running prettier 40x faster than prettier CLI using dprint
7 projects | news.ycombinator.com | 25 Apr 2022
For a recent personal project, I wanted to format the generated HTML. My first stab at it used Prettier. But, I was very underwhelmed with the processing speed. I then gave js-beautify a try, which I found to be much, much faster.
Local dynamic change of script content
2 projects | reddit.com/r/GreaseMonkey | 14 Feb 2022
Best procedure is, to use something like beautifier.io and look, how the sessionstore.json is designed
Format object with stringify in one line
Or you can use something like https://beautifier.io/ and play with its options till you get something like you want.
How do you embed a JSON object into the front-end as is?
2 projects | reddit.com/r/reactjs | 29 Aug 2021
This. Except I might suggest also making it readable via pretty-formatting it (adding newlines + indentation between entries). You could try your own custom regex (more difficult) or a third-party like js-beautify (easier but lacks some formatting options).
Reinforcement Learning deploy in Modern Tetris project
2 projects | reddit.com/r/reinforcementlearning | 24 Aug 2021
if the latter, that is more difficult. if you're savvy enough to use Chrome's debugger, you can probably find how the game represents its state, then create a clone (or heavily modify the existing source code) that stores its state in the same exact way. the game code is heavily obfuscated though (here's a hint: use https://beautifier.io/ to help you out, and make sure the "Unescape printable chars encoded as \xNN or \uNNNN?" is checkmarked). when evaluating on the live environment you might have to create a chrome extension or something to read the real game's state and feed it to the agent.
Yet another page with problems in Classic
2 projects | reddit.com/r/waterfox | 12 Apr 2021
What are some alternatives?
prettier - Prettier is an opinionated code formatter.
jsinspect - Detect copy-pasted and structurally similar code
nvim-lint - An asynchronous linter plugin for Neovim complementary to the built-in Language Server Protocol support.
craco - Create React App Configuration Override, an easy and comprehensible configuration layer for Create React App.
dotenv-linter - ⚡️Lightning-fast linter for .env files. Written in Rust 🦀