1 Star 0 Fork 0

justjavac / deno_website2

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
.eslintrc.json 1.25 KB
一键复制 编辑 原始数据 按行查看 历史
Brandon Kalinowski 提交于 2020-02-06 05:49 . lint (#226)
{
"root": true,
"parser": "@typescript-eslint/parser",
"plugins": ["@typescript-eslint"],
"extends": [
"plugin:@typescript-eslint/recommended",
"prettier",
"prettier/@typescript-eslint",
"eslint:recommended",
"plugin:react/recommended"
],
"settings": {
"react": {
"version": "detect"
}
},
"rules": {
"@typescript-eslint/array-type": ["error", { "default": "array-simple" }],
"@typescript-eslint/explicit-member-accessibility": ["off"],
"@typescript-eslint/no-non-null-assertion": ["off"],
"@typescript-eslint/no-use-before-define": ["off"],
"@typescript-eslint/no-parameter-properties": ["off"],
"@typescript-eslint/no-unused-vars": [
"error",
{ "argsIgnorePattern": "^_", "varsIgnorePattern": "^_" }
],
"@typescript-eslint/ban-ts-ignore": ["off"],
"@typescript-eslint/no-empty-function": ["off"],
"@typescript-eslint/explicit-function-return-type": ["off"],
"@typescript-eslint/no-explicit-any": ["off"],
"//replaced by @typescript-eslint/no-unused-vars": 0,
"no-unused-vars": ["off"],
"react/no-unescaped-entities": ["error", { "forbid": [">", "}"] }],
"react/prop-types": ["off"]
},
"env": {
"browser": true,
"node": true,
"es6": true
}
}
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/justjavac/deno_website2.git
git@gitee.com:justjavac/deno_website2.git
justjavac
deno_website2
deno_website2
main

搜索帮助

344bd9b3 5694891 D2dac590 5694891