@4tw/eslint-config 中文文档教程
@4tw/eslint-config
Installation
运行以下命令:
$ yarn add --dev eslint prettier @4tw/eslint-config
然后将其添加到您的 .eslintrc.js
中:
module.exports = {
extends: [
'@4tw',
],
}
最后将 lint
命令添加到您的 package.json
中:
{
...
"scripts": {
"lint": "eslint --ext .js,.vue --ignore-path .gitignore ."
}
}
@4tw/eslint-config
Installation
Run the following:
$ yarn add --dev eslint prettier @4tw/eslint-config
Then add this in your .eslintrc.js
:
module.exports = {
extends: [
'@4tw',
],
}
Finally add the lint
command to your package.json
:
{
...
"scripts": {
"lint": "eslint --ext .js,.vue --ignore-path .gitignore ."
}
}
更多
你可能也喜欢
- 1-1-help-desk-system 中文文档教程
- 2413-to-3812 中文文档教程
- @11ty/eleventy-plugin-syntaxhighlight 中文文档教程
- @4everland/cluster-cli 中文文档教程
- @5a.css/reset 中文文档教程
- @absolunet/eslint-config-library 中文文档教程
- @abtnode/core 中文文档教程
- @abuffseagull/eslint-config-base 中文文档教程
- @acflow/package-example 中文文档教程
- @acoustic-content-sdk/ng-edit 中文文档教程