1 Star 0 Fork 0

Zvonimir/waline

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
.eslintrc.yml 1.82 KB
一键复制 编辑 原始数据 按行查看 历史
Mr.Hope 提交于 2021-05-19 17:57 . feat: add client-vue
root: true
env:
node: true
es6: true
extends:
- eslint:recommended
- plugin:prettier/recommended
settings:
react:
version: detect
parserOptions:
ecmaVersion: 11
ignorePatterns:
- dist/
- example/
- node_modules/
overrides:
- files:
- '*.ts'
extends:
- plugin:@typescript-eslint/eslint-recommended
- plugin:@typescript-eslint/recommended
- plugin:@typescript-eslint/recommended-requiring-type-checking
- plugin:prettier/recommended
plugins:
- '@typescript-eslint'
parser: '@typescript-eslint/parser'
parserOptions:
project:
- './tsconfig.json'
rules:
'@typescript-eslint/explicit-function-return-type':
- warn
- allowTypedFunctionExpressions: true
'@typescript-eslint/naming-convention':
- warn
- selector: default
format:
- camelCase
leadingUnderscore: allow
trailingUnderscore: allow
- selector:
- variable
format:
- camelCase
- UPPER_CASE
leadingUnderscore: allow
trailingUnderscore: allow
- selector:
- parameter
format:
- camelCase
- PascalCase
leadingUnderscore: allow
trailingUnderscore: allow
- selector:
- property
format:
- camelCase
- PascalCase
- UPPER_CASE
leadingUnderscore: allow
trailingUnderscore: allow
- selector: typeLike
format:
- PascalCase
'@typescript-eslint/no-explicit-any':
- warn
- ignoreRestArgs: true
'@typescript-eslint/no-unsafe-member-access':
- warn
- files:
- 'packages/**/__tests__/**/*.spec.js'
env:
jest: true
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/sunziyang97/waline.git
git@gitee.com:sunziyang97/waline.git
sunziyang97
waline
waline
main

搜索帮助