mirror of
https://github.com/wavetermdev/waveterm.git
synced 2024-12-22 16:48:23 +01:00
edb3290349
## Summary We are moving our docsite to this repo for better coordination. ## What's changed? - The docsite codebase is now in docs/ - The docsite will replace storybook as the published GitHub Pages site for this repo - Storybook will now be hosted at https://docs.waveterm.dev/storybook - A new CI workflow will validate any changes to Storybook or the docsite - A combined CD workflow will build and deploy Storybook and the docsite as a single artifact - The Build Helper workflow will now build an embedded version of the docsite before building the app, ensuring the docsite version it has is always the latest
28 lines
609 B
JavaScript
28 lines
609 B
JavaScript
// @ts-check
|
|
|
|
import eslint from "@eslint/js";
|
|
import eslintConfigPrettier from "eslint-config-prettier";
|
|
import * as mdx from "eslint-plugin-mdx";
|
|
import tseslint from "typescript-eslint";
|
|
|
|
const baseConfig = tseslint.config(
|
|
eslint.configs.recommended,
|
|
...tseslint.configs.recommended,
|
|
mdx.flat,
|
|
mdx.flatCodeBlocks
|
|
);
|
|
|
|
const customConfig = {
|
|
...baseConfig,
|
|
overrides: [
|
|
{
|
|
files: ["emain/emain.ts", "electron.vite.config.ts"],
|
|
env: {
|
|
node: true,
|
|
},
|
|
},
|
|
],
|
|
};
|
|
|
|
export default [customConfig, eslintConfigPrettier];
|