- 在 CreateGoalModal 中新增目标创建表单,支持设置标题、描述、重复周期、频率、提醒时间和结束日期 - 更新 GoalCard 组件,增加显示结束日期的功能 - 修改 goals.tsx 文件,调整 CreateGoalModal 的导入路径 - 更新 eslint 配置,增加对 node_modules 的忽略设置,优化代码检查
11 lines
255 B
JavaScript
11 lines
255 B
JavaScript
// https://docs.expo.dev/guides/using-eslint/
|
|
const { defineConfig } = require('eslint/config');
|
|
const expoConfig = require('eslint-config-expo/flat');
|
|
|
|
module.exports = defineConfig([
|
|
expoConfig,
|
|
{
|
|
ignores: ['dist/*', 'node_modules/*'],
|
|
},
|
|
]);
|