mirror of
https://gitee.com/ByteDance/flowgram.ai.git
synced 2025-07-07 17:43:29 +08:00
29 lines
541 B
JavaScript
29 lines
541 B
JavaScript
// 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',
|
|
},
|
|
};
|