1.2.3 • Published 2 years ago

@ra-dae/eslint-config v1.2.3

Weekly downloads
-
License
ISC
Repository
-
Last release
2 years ago

Ra lint module

Typescript lint:

Import typescript lint

You could add blow in your lint configuration file (such as: .eslintrc.js)

{
	"extends": "@ra-dae/eslint-config/typescript-recommended",
	"parse":"@typescript-eslint/parser",
	"parserOptions":{
		"ecmaVersion": "latest",
		"sourceType": "module",
		"project": "tsconfig.json"
	}
}

Rules to commit changes

feat: 说明本次提交的是一个新的feature; fix: 修复了一个bug; chore: 一些没有构成feature, 但又不是其他类型的提交; docs: 只是修改了文档相关的内容。