mirror of
https://gitee.com/ByteDance/flowgram.ai.git
synced 2025-07-07 17:43:29 +08:00
* feat: add free-antd-materials * feat: add demo-nextjs-antd * fix(free-antd-materials): pass ts tests * chore: rename free-antd-materials to form-antd-materials
22 lines
434 B
JavaScript
22 lines
434 B
JavaScript
const { defineConfig } = require('@flowgram.ai/eslint-config');
|
|
|
|
module.exports = defineConfig({
|
|
parser: '@babel/eslint-parser',
|
|
preset: 'web',
|
|
packageRoot: __dirname,
|
|
parserOptions: {
|
|
requireConfigFile: false,
|
|
},
|
|
rules: {
|
|
'no-console': 'off',
|
|
'react/prop-types': 'off',
|
|
},
|
|
plugins: ['json'],
|
|
extends: ['next', 'next/core-web-vitals'],
|
|
settings: {
|
|
react: {
|
|
version: 'detect',
|
|
},
|
|
},
|
|
});
|