6 Star 102 Fork 50

向前 / xforge

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
.eslintrc.js 1.46 KB
一键复制 编辑 原始数据 按行查看 历史
张鹏 提交于 2023-12-28 15:17 . version(版本): 3.2.1
module.exports = {
env: {
browser: true,
node: true
},
extends: [
'eslint:recommended',
'plugin:@typescript-eslint/recommended'
],
parser: '@typescript-eslint/parser',
parserOptions: {
sourceType: 'module'
},
plugins: [
'@typescript-eslint'
],
globals: {},
rules: {
'no-useless-escape': 0,
'prefer-spread': 0,
'prefer-const': 0,
'comma-spacing': 'error',
'space-infix-ops': 'error',
'no-constant-condition': 0,
'no-inner-declarations': 0,
'@typescript-eslint/no-namespace': 0,
'arrow-spacing': ['error', { before: true, after: true }],
'no-multiple-empty-lines': ['error', { max: 1, maxEOF: 1 }],
'space-before-function-paren': ['error', { 'anonymous': 'always', 'named': 'never', 'asyncArrow': 'always' }],
'@typescript-eslint/ban-types': 0,
'@typescript-eslint/ban-ts-comment': 0,
'@typescript-eslint/no-explicit-any': 0,
'@typescript-eslint/no-var-requires': 0,
'@typescript-eslint/no-empty-function': 0,
'@typescript-eslint/semi': ['error', 'always'],
'@typescript-eslint/quotes': ['error', 'single'],
'@typescript-eslint/explicit-module-boundary-types': 0,
'@typescript-eslint/object-curly-spacing': ['error', 'always'],
'@typescript-eslint/no-inferrable-types': ['error', { ignoreParameters: true, ignoreProperties: true }],
}
};
TypeScript
1
https://gitee.com/cocos2d-zp/cococs-creator-frame-3d.git
git@gitee.com:cocos2d-zp/cococs-creator-frame-3d.git
cocos2d-zp
cococs-creator-frame-3d
xforge
master

搜索帮助

53164aa7 5694891 3bd8fe86 5694891