3 Star 8 Fork 1

Gitee 极速下载/Simplenote

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
此仓库是为了提升国内下载速度的镜像仓库,每日同步一次。 原始仓库: https://github.com/Automattic/simplenote-electron
克隆/下载
.eslintrc.json 1.20 KB
一键复制 编辑 原始数据 按行查看 历史
Kat Hagan 提交于 2024-05-09 13:21 . Upgrade everything (#3183)
{
"parser": "@typescript-eslint/parser",
"env": {
"browser": true,
"es6": true,
"jest/globals": true,
"mocha": true,
"node": true
},
"parserOptions": {
"ecmaFeatures": {
"jsx": true
},
"ecmaVersion": 6,
"sourceType": "module"
},
"extends": [
"eslint:recommended",
"plugin:@typescript-eslint/eslint-recommended",
"plugin:jest/recommended",
"prettier",
"plugin:prettier/recommended",
"plugin:react/recommended"
],
"plugins": [
"@typescript-eslint",
"eslint-plugin-react",
"jest",
"prettier",
"react-hooks"
],
"rules": {
"eqeqeq": ["error", "always"],
"no-console": "warn",
"no-lonely-if": "error",
"no-shadow": "warn",
"no-spaced-func": "error",
"prettier/prettier": [
"error",
{
"singleQuote": true
}
],
"react/display-name": "warn",
"react/no-deprecated": "warn",
"react/no-string-refs": "warn",
"react/prop-types": "off",
"vars-on-top": "error"
},
"settings": {
"react": {
"version": "detect"
}
},
"overrides": [
{
"files": ["*.ts", "*.tsx"],
"rules": {
"no-unused-vars": "off"
}
}
]
}
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
TypeScript
1
https://gitee.com/mirrors/Simplenote.git
git@gitee.com:mirrors/Simplenote.git
mirrors
Simplenote
Simplenote
trunk

搜索帮助

23e8dbc6 1850385 7e0993f3 1850385