mirror of
https://github.com/lobehub/lobe-chat.git
synced 2026-06-14 03:30:19 +00:00
75ee574600
* ♻️ refactor: 重构 openai-edge 到 openai * 🔊 chore: add log * 🐛 fix: fix openai baseURL error * ✏️ ci: fix types
18 lines
661 B
JavaScript
18 lines
661 B
JavaScript
const config = require('@lobehub/lint').eslint;
|
|
|
|
config.extends.push('plugin:@next/next/recommended');
|
|
|
|
config.rules['unicorn/no-negated-condition'] = 0;
|
|
config.rules['unicorn/prefer-type-error'] = 0;
|
|
config.rules['unicorn/prefer-logical-operator-over-ternary'] = 0;
|
|
config.rules['unicorn/no-null'] = 0;
|
|
config.rules['unicorn/no-typeof-undefined'] = 0;
|
|
config.rules['unicorn/explicit-length-check'] = 0;
|
|
config.rules['unicorn/prefer-code-point'] = 0;
|
|
config.rules['no-extra-boolean-cast'] = 0;
|
|
config.rules['unicorn/no-useless-undefined'] = 0;
|
|
config.rules['react/no-unknown-property'] = 0;
|
|
config.rules['unicorn/prefer-ternary'] = 0;
|
|
|
|
module.exports = config;
|