22 Star 212 Fork 52

wopen / nplayer

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
.eslintrc 1.50 KB
一键复制 编辑 原始数据 按行查看 历史
{
"parser": "@typescript-eslint/parser",
"extends": [
"airbnb-base",
"plugin:@typescript-eslint/recommended"
],
"parserOptions": {
"ecmaVersion": 2018,
"sourceType": "module"
},
"env": {
"es2020": true,
"browser": true
},
"plugins": ["@typescript-eslint"],
"settings": {
"import/resolver": {
"node": {
"paths": ["packages/nplayer"],
"extensions": [".js", ".jsx", ".ts", ".tsx"]
}
}
},
"rules": {
"max-len": ["error", { "code": 130, "ignoreStrings": true, "ignoreUrls": true }],
"import/no-unresolved": ["error", { "ignore": ["react"] }],
"@typescript-eslint/no-var-requires": 0,
"@typescript-eslint/no-explicit-any": 0,
"@typescript-eslint/no-empty-function": 0,
"import/extensions": 0,
"import/prefer-default-export": 0,
"max-classes-per-file": 0,
"class-methods-use-this": 0,
"no-param-reassign": 0,
"no-underscore-dangle": 0,
"prefer-destructuring": 0,
"no-new": 0,
"@typescript-eslint/no-non-null-assertion": 0,
"func-names": 0,
"@typescript-eslint/explicit-module-boundary-types": 0,
"no-nested-ternary": 0,
"no-plusplus": 0,
"consistent-return": 0,
"no-sequences": 0,
"default-case": 0,
"prefer-rest-params": 0,
"@typescript-eslint/ban-types": 0,
"@typescript-eslint/ban-ts-comment": 0,
"no-bitwise": 0,
"no-multi-assign": 0,
"no-continue": 0,
"no-mixed-operators": 0
}
}
TypeScript
1
https://gitee.com/wopen/nplayer.git
git@gitee.com:wopen/nplayer.git
wopen
nplayer
nplayer
main

搜索帮助