basic linting

This commit is contained in:
caranicas 2022-09-19 10:14:50 -04:00
parent bea8ae55de
commit 1bd4a0f4ee
4 changed files with 2676 additions and 0 deletions

View 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"
}
}

File diff suppressed because it is too large Load Diff

View File

@ -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",

View File

@ -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