mirror of
https://github.com/open-webui/docs
synced 2025-05-18 18:32:14 +00:00
Add eslint flat config
This commit is contained in:
parent
c02fd889dd
commit
4efcba1796
16
eslint.config.mjs
Normal file
16
eslint.config.mjs
Normal file
@ -0,0 +1,16 @@
|
|||||||
|
// @ts-check
|
||||||
|
|
||||||
|
import eslint from "@eslint/js";
|
||||||
|
import tseslint from "typescript-eslint";
|
||||||
|
// import docusaurus from '@docusaurus/eslint-plugin'; // https://github.com/facebook/docusaurus/issues/10490
|
||||||
|
|
||||||
|
export default [
|
||||||
|
eslint.configs.recommended,
|
||||||
|
...tseslint.configs.recommended,
|
||||||
|
// docusaurus.configs.recommended, // https://github.com/facebook/docusaurus/issues/10490
|
||||||
|
{
|
||||||
|
files: ["*.ts", "*.tsx", "*.js", "*.mjs", "*.cjs"],
|
||||||
|
ignores: [],
|
||||||
|
rules: {},
|
||||||
|
},
|
||||||
|
];
|
Loading…
Reference in New Issue
Block a user