Prettier is a knowledgeable code formatting tool. It enforces a consistent style by parsing the code and reprinting it using its own rules, taking into...
ESLint is a checking tool for ECMAScript/JavaScript with the goal of making code more consistent and avoiding errors. ESLint has the following features: uses Espress...
In everyday projects, we often encounter scenarios that require computation. But JavaScript computations have a lot of precision issues, and precision is often ignored when...
Vetur is a Vue tool for vscode, supported by vue-language-server. This time the main content is only about verification and formatting, the rest of the...
Good code specifications improve code visibility and make project maintenance friendly. In addition to creating a specification of our own, we can also take a...
Background The code styles of multi-party cooperation projects are not uniform, the cost of learning is high for newcomers, the code styles of local and...
Eslint can detect errors and formatting problems in code and fix them automatically based on the AST (Abstract Syntax tree). The source code is parsed...
Front-end code specification -Eslint and Prettier solve common confusing problems, helping you quickly introduce code specifications into real projects.
Abstract: Understand ESLint thoroughly. ESLint is a must-have tool for modern front-end development. Its usage is simple, but the effect is very great, I do...
Eslint is a front-end tool for JS code, with the goal of unifying the team's code style and specification and avoiding unnecessary bugs. The installation...