@abhijithvijayan/eslint-config-airbnb 中文文档教程
@abhijithvijayan/eslint-config-airbnb
Airbnb 的 ESLint 配置和可选的 TypeScript 支持
????♂️ Made by @abhijithvijayan
这是 eslint-config-airbnb-base
和eslint-config-airbnb-typescript
。 这个包装器背后的目的是为 @abhijithvijayan/eslint-config
分别公开一个 javascript 模块和另一个 typescript 模块 包。 我建议使用 abhijithvijayan/eslint-config
包本身。
有关详细信息,请参阅这个问题。
Table of Contents
Installation
确保安装了 Node.js 10 或更高版本。 然后运行以下命令:
# npm
npm install @abhijithvijayan/eslint-config-airbnb
# yarn
yarn add @abhijithvijayan/eslint-config-airbnb
Usage
.eslintrc.json
{
"extends": [
"@abhijithvijayan/eslint-config-airbnb", // or "@abhijithvijayan/eslint-config-airbnb/typescript",
],
"rules": {
// your overrides
}
}
Issues
想要做出贡献? 寻找 第一期不错 标签。
Bugs
请在此处提交问题以解决错误、缺少文档、或意想不到的行为。
License
MIT © Abhijith Vijayan
@abhijithvijayan/eslint-config-airbnb
Airbnb's ESLint config with optional TypeScript support
????♂️ Made by @abhijithvijayan
❤️ it? ⭐️ it on GitHub or Tweet about it.
This is a wrapper for eslint-config-airbnb-base
and eslint-config-airbnb-typescript
. The purpose behind this wrapper is to expose a javascript module and another typescript module separately for @abhijithvijayan/eslint-config
package. I recommend using the abhijithvijayan/eslint-config
package itself.
See this issue for more information.
Table of Contents
Installation
Ensure you have Node.js 10 or later installed. Then run the following:
# npm
npm install @abhijithvijayan/eslint-config-airbnb
# yarn
yarn add @abhijithvijayan/eslint-config-airbnb
Usage
.eslintrc.json
{
"extends": [
"@abhijithvijayan/eslint-config-airbnb", // or "@abhijithvijayan/eslint-config-airbnb/typescript",
],
"rules": {
// your overrides
}
}
Issues
Looking to contribute? Look for the Good First Issue label.
???? Bugs
Please file an issue here for bugs, missing documentation, or unexpected behavior.
License
MIT © Abhijith Vijayan