概要
A tutorial/template repository to explain how to create your eslint plugins
学習・教育計測したスター増加
- 24時間
- 0
- 7日間
- 0
- 15日間
- 0
- 1か月
- 履歴を収集中
期間ごとの純増数です。期間は重複しており、日別の値ではありません。未計測の値は空欄です。スター数は注目度の指標であり、品質の保証ではありません。
README.md
オリジナルESLint plugin tutorial
What's this?
This is an example repository to explain how to create your ESLint rules.
Why should we learn how to create custom ESLint rules?
Lint rules help to keep our codes' quality constant. Automatic code checking brings time for more productive activities, and also eliminates indivisual effects from code review.
Creating ESLint rules is a good subject to learn AST(Abstract Syntax Tree) analysis. Today, analysis of AST is the foundation of the JavaScript build ecosystem. There are many libraries using AST, such as Babel plugins, custom TypeScript transformers, prettier, webpack and so on. Your team's JavaScript gets improved significantly if you can control AST freely!
Tutorial
Getting started
This repository is also designed to work as a project template for custom ESLint rules.
If you want to start quickly, follow the procedure below:
- Clone this repository
- Remove
.gitandguidedirs - Change pkg name via edit
package.json - Change and test rule codes under
src/rulesdir
This repository includes:
- TypeScript setting
- Jest
- GitHub actions configuration
LICENSE
MIT
関連プロジェクトを探す
読み込み中…