代码拉取完成,页面将自动刷新
module.exports = {
extends: ['alloy', 'alloy/typescript'],
parserOptions: {
project: './tsconfig.eslint.json',
},
rules: {
'no-promise-executor-return': 'off',
'spaced-comment': ['error', 'always', { markers: ['/'] }],
'sort-imports': [
'warn',
{
ignoreCase: false,
ignoreDeclarationSort: true,
ignoreMemberSort: false,
memberSyntaxSortOrder: ['none', 'all', 'multiple', 'single'],
allowSeparatedGroups: false,
},
],
},
globals: {
BigInt: true,
globalThis: true
},
overrides: [
{
files: ['**/test/integration/test-web/cypress/**/*.{js,ts}'],
plugins: ['cypress'],
env: {
'cypress/globals': true,
},
},
// ESLint Vue from web tests
{
files: ['**/packages/client/test/integration/test-web/src/**/*.vue'],
extends: [
'plugin:vue/vue3-recommended',
// no real need to apply type checked linting rules for integration tests
'plugin:@typescript-eslint/disable-type-checked',
],
parserOptions: {
ecmaVersion: 2020,
parser: '@typescript-eslint/parser',
extraFileExtensions: ['.vue'],
},
rules: {
'vue/html-indent': ['warn', 2],
},
},
// Jakefiles
{
files: ['packages/crypto/etc/jakefile.ts', 'etc/jakefile.ts'],
globals: {
desc: true,
task: true,
namespace: true,
},
},
],
}
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。