English | 简体中文
When daily development, we often need to build various projects, open source or enterprise projects. These projects typically require certain quality and standardization requirements. For example, it requires: code formatting, code style, standardized submission information, code submission verification control, etc.
Common solutions are:
- Use prettier + eslint to format and unify code styles.
- Use husky + commitlint + lint-staged to control submission information and run verification control on submission.
Code quality and standardized control for these projects are similar. The problem is that configure of them indeed cumbersome, for example you need to installing various dependencies, adding various configuration files, and you even need to ensure the correspondence versions between dependencies you installed.
@ephemeras/linter
is a command-line tool used to quickly configure the code quality and standardization of projects. It focuses on the actual specific code quality and standardization requirements in the project through interactive Q&A, while hiding the process of installing various dependencies and creating configuration files. Easily to use and has clearly logic.
@ephemeras/linter
is fully functional and easy to use. Supports full and partial addition of functional features, and also provides removal operations for corresponding functional features. Provides the function of preset saving, allowing users to quickly configure projects of the same type. Supports both Chinese and English modes.
For more details, Read online documentation.
available features: format
, commit
available features: format
, commit
/// <reference types="vite/client" />
declare module '*.vue' {
import type { DefineComponent } from 'vue'
const vueComponent: DefineComponent<{}, {}, any>
export default vueComponent
}
{
// ...
"settings": {
"typescript": {
"project": "./tsconfig.json"
},
"import/resolver": {
"alias": {
"map": [["@", "./src"]],
"extensions": [".js", ".jsx", ".ts", ".tsx"]
}
}
}
}
$ pnpm install -g conventional-changelog-cli
$ cd my-project
$ conventional-changelog -p angular -i CHANGELOG.md -s
- @ephemeras/linter - Command line tool, quickly configuring and completing project code standardization construction.
- @ephemeras/utils - Tool collections provide useful features for front-end building, efficient and reliable.