3 Star 4 Fork 1

叶红稳/cesium

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
.eslintrc.js 1.80 KB
一键复制 编辑 原始数据 按行查看 历史
叶红稳 提交于 2022-10-31 12:37 . feat:动态墙体
module.exports = {
env: {
browser: true,
es2021: true,
},
extends: [
'plugin:@typescript-eslint/recommended',
'plugin:vue/vue3-recommended',
],
parserOptions: {
ecmaVersion: 12,
parser: '@typescript-eslint/parser',
sourceType: 'module',
},
plugins: ['vue', '@typescript-eslint'],
rules: {
// js/ts
'eol-last': 'error',
'no-trailing-spaces': 'error',
'comma-style': ['error', 'last'],
// 'comma-dangle': ['error', 'always-multiline'],
quotes: [
'error',
'single',
{ avoidEscape: true, allowTemplateLiterals: true },
],
camelcase: ['error', { properties: 'never' }],
semi: ['error', 'never'],
indent: ['error', 2, { SwitchCase: 1 }],
'object-curly-spacing': ['error', 'always'],
'arrow-parens': ['error', 'as-needed'],
'@typescript-eslint/explicit-module-boundary-types': 'off',
'@typescript-eslint/no-explicit-any': 'off',
'@typescript-eslint/no-unused-vars': 'off',
'@typescript-eslint/member-delimiter-style': [
'error',
{
multiline: {
delimiter: 'none',
requireLast: false,
},
singleline: {
delimiter: 'semi',
requireLast: true,
},
},
],
'@typescript-eslint/no-this-alias': 'off',
// vue
'vue/no-v-html': 'off',
'vue/singleline-html-element-content-newline': 'off',
'vue/html-self-closing': [
'error',
{
html: {
void: 'never',
normal: 'never',
component: 'always',
},
},
],
'vue/max-attributes-per-line': [
'error',
{
singleline: 4,
multiline: 1,
},
],
'vue/require-default-prop': 'off',
'vue/html-closing-bracket-spacing': 'error',
},
"globals": {
"Cesium": true
}
};
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/ye_hong_wen/cesium.git
git@gitee.com:ye_hong_wen/cesium.git
ye_hong_wen
cesium
cesium
master

搜索帮助