mirror of
https://gitee.com/ByteDance/flowgram.ai.git
synced 2025-07-07 17:43:29 +08:00
* chore: add license-header * chore: add precommit * chore: add license header * fix: only js & shell style
22 lines
509 B
JavaScript
22 lines
509 B
JavaScript
/**
|
|
* Copyright (c) 2025 Bytedance Ltd. and/or its affiliates
|
|
* SPDX-License-Identifier: MIT
|
|
*/
|
|
|
|
const { defineConfig } = require('@flowgram.ai/eslint-config');
|
|
|
|
module.exports = defineConfig({
|
|
preset: 'web',
|
|
packageRoot: __dirname,
|
|
rules: {
|
|
'no-restricted-syntax': [
|
|
'error',
|
|
{
|
|
selector: 'ExportAllDeclaration',
|
|
message:
|
|
'Do not re-export everything from another modules, you should explicitly specify the members to be exported.',
|
|
},
|
|
],
|
|
},
|
|
});
|