Eslint is a code checking tool that checks whether your code conforms to specified specifications (for example: = must have a space before and after...
This article is the first in a series on how to enhance your development environment using ESLint, Prettier, and EditorConfig. If you already know ESLint,...
This article is the second in a series on how to enhance your development environment using ESLint, Prettier, and EditorConfig. If you still have questions...
Imagine a team where everyone's coding style is different. In order to solve the maximum problems in the collaborative development process, such as: non-standard naming,...
Code specifications are an enduring topic in software development, and almost all engineers have encountered and thought about it at some point in their development...
Use Prettier, no code inspection, formatting. NPM install Standard --save-dev, no configuration file needed. Prettierrc custom format Use the Standard JavaScript Standard Style, install Standard...
Didi's WebApp is a taxi-hailing app that runs on wechat, Alipay, Mobile Q and other third-party channels. We've given it a technical refactoring with Vue...
ESLint recently released the RC version of V8.0.0, which means an official release is imminent. V8.0.0 introduces a number of major updates that give you...
The company needs uni-App to develop new projects. The introduction of UNI-App can be found on the official website. The core is to write multiterminal...
This article explains how to configure eslint for code checking in VSCode and how to support.vue single files. Add the following configuration to save automatically....
React makes it easy to create interactive interfaces. Design a simple view for each state in your application, and React efficiently updates and renders the...
Front-end development requires the support of various Types of Lint. A common misconception about using Lint is that: In practice, the definition of a lint...
Keeping the code style consistent for the same project is a very important specification. But in fact, the code verification rules and formatting tools of...
Eslint checks code quality as well as formatting, causing formatting to conflict with Prettier. Prettier should be given the job of coding formatting because there...
The dynamic language type of JavaScript gives it its unique charm, resulting in a variety of development paradigms, but also some problems, from the common...
Don't know if friend have noticed that since the react to update to version 16.3, previously used componentWillMount, componentWillReceiveProps, componentWillUpdate function has three life cycle...
2. Create the following files in the root directory to write validation rule definitions after saving the formatting rule esLint configuration ignores the following file...