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
34 lines
641 B
JavaScript
34 lines
641 B
JavaScript
/**
|
|
* Copyright (c) 2025 Bytedance Ltd. and/or its affiliates
|
|
* SPDX-License-Identifier: MIT
|
|
*/
|
|
|
|
// This is a workaround for https://github.com/eslint/eslint/issues/3458
|
|
require('@rushstack/eslint-config/patch/modern-module-resolution');
|
|
|
|
module.exports = {
|
|
extends: ['./.eslintrc.base.js'],
|
|
plugins: ['react'],
|
|
env: {
|
|
browser: true,
|
|
node: true,
|
|
es6: true,
|
|
jest: true,
|
|
},
|
|
globals: {
|
|
React: true,
|
|
jsdom: true,
|
|
JSX: true,
|
|
},
|
|
settings: {
|
|
'import/resolver': {
|
|
node: {
|
|
extensions: ['.js', '.jsx', '.ts', '.tsx'],
|
|
},
|
|
},
|
|
},
|
|
rules: {
|
|
'import/no-cycle': 'off',
|
|
},
|
|
};
|