mirror of
https://github.com/easydiffusion/easydiffusion.git
synced 2024-12-25 16:38:55 +01:00
basic linting
This commit is contained in:
parent
bea8ae55de
commit
1bd4a0f4ee
11
ui/frontend/build_src/.eslintrc
Normal file
11
ui/frontend/build_src/.eslintrc
Normal file
@ -0,0 +1,11 @@
|
||||
{
|
||||
"root": true,
|
||||
"parser": "@typescript-eslint/parser",
|
||||
"extends": ["eslint:recommended", "plugin:@typescript-eslint/recommended"],
|
||||
"rules": {
|
||||
"@typescript-eslint/ban-ts-comment": "off",
|
||||
"@typescript-eslint/no-array-constructor": "off",
|
||||
"prefer-const": "off",
|
||||
"no-debugger": "warn"
|
||||
}
|
||||
}
|
2661
ui/frontend/build_src/package-lock.json
generated
2661
ui/frontend/build_src/package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@ -29,6 +29,8 @@
|
||||
"@types/react": "^18.0.17",
|
||||
"@types/react-dom": "^18.0.6",
|
||||
"@types/uuid": "^8.3.4",
|
||||
"@typescript-eslint/eslint-plugin": "^5.37.0",
|
||||
"@typescript-eslint/parser": "^5.37.0",
|
||||
"@vitejs/plugin-react": "^2.0.1",
|
||||
"prettier": "^2.7.1",
|
||||
"typescript": "^4.6.4",
|
||||
|
@ -1,4 +1,5 @@
|
||||
import { defineConfig } from "vite";
|
||||
import eslint from 'vite-plugin-eslint'
|
||||
import react from "@vitejs/plugin-react";
|
||||
import { vanillaExtractPlugin } from "@vanilla-extract/vite-plugin";
|
||||
|
||||
@ -14,6 +15,7 @@ export default defineConfig({
|
||||
},
|
||||
|
||||
plugins: [
|
||||
eslint(),
|
||||
react(),
|
||||
vanillaExtractPlugin({
|
||||
// configuration
|
||||
|
Loading…
Reference in New Issue
Block a user