6bed393c12
Backend Tests / backend-unit-test (push) Has been cancelled
Backend Tests / benchmark-test (push) Has been cancelled
CI@main / Node.js v22 (ubuntu-latest) (push) Has been cancelled
Thrift Syntax Validation / validate-thrift (push) Has been cancelled
License Check / License Check (push) Has been cancelled
25 lines
904 B
JavaScript
25 lines
904 B
JavaScript
const { defineConfig } = require('@coze-arch/eslint-config');
|
|
|
|
module.exports = defineConfig({
|
|
packageRoot: __dirname,
|
|
preset: 'web',
|
|
rules: {
|
|
'no-restricted-syntax': 'off',
|
|
'@typescript-eslint/naming-convention': 'off',
|
|
'@typescript-eslint/no-magic-numbers': 'off',
|
|
'@coze-arch/no-batch-import-or-export': 'off',
|
|
'@typescript-eslint/no-explicit-any': 'warn',
|
|
'@typescript-eslint/no-non-null-assertion': 'off',
|
|
'rule-empty-line-before': 'off',
|
|
'alpha-value-notation': 'off',
|
|
'@typescript-eslint/require-await': 'off',
|
|
'@typescript-eslint/no-namespace': 'off',
|
|
'@typescript-eslint/no-invalid-void-type': 'off',
|
|
'@typescript-eslint/no-empty-interface': 'off',
|
|
'@typescript-eslint/no-empty-function': 'off',
|
|
'max-params': 'off',
|
|
'@typescript-eslint/no-this-alias': 'off',
|
|
'@typescript-eslint/consistent-type-assertions': 'off',
|
|
},
|
|
});
|