Added mutations and queries for DaiailyStats and TotalStats. Updated Schema. Added scalar package.
This commit is contained in:
@@ -1,10 +1,21 @@
|
||||
import { defineConfig, globalIgnores } from "eslint/config";
|
||||
import nextVitals from "eslint-config-next/core-web-vitals";
|
||||
import nextTs from "eslint-config-next/typescript";
|
||||
import eslintPluginPrettierRecommended from "eslint-plugin-prettier/recommended";
|
||||
import reactPlugin from "eslint-plugin-react";
|
||||
import eslint from "@eslint/js";
|
||||
// import tseslint from "typescript-eslint";
|
||||
import jsxA11y from "eslint-plugin-jsx-a11y";
|
||||
import reactHooks from "eslint-plugin-react-hooks";
|
||||
|
||||
const eslintConfig = defineConfig([
|
||||
...nextVitals,
|
||||
...nextTs,
|
||||
eslintPluginPrettierRecommended,
|
||||
reactPlugin.configs.flat.recommended,
|
||||
reactPlugin.configs.flat["jsx-runtime"],
|
||||
eslint.configs.recommended,
|
||||
// tseslint.configs.recommended,
|
||||
// tseslint.configs.stylistic,
|
||||
reactHooks.configs.flat.recommended,
|
||||
// Override default ignores of eslint-config-next.
|
||||
globalIgnores([
|
||||
// Default ignores of eslint-config-next:
|
||||
@@ -12,8 +23,17 @@ const eslintConfig = defineConfig([
|
||||
"out/**",
|
||||
"build/**",
|
||||
"next-env.d.ts",
|
||||
"src/primsa/**/*"
|
||||
])
|
||||
"types/**",
|
||||
"src/prisma/generated"
|
||||
]),
|
||||
{
|
||||
rules: {
|
||||
"@typescript-eslint/no-empty-object-type": "off"
|
||||
},
|
||||
plugins: {
|
||||
jsxA11y: jsxA11y.configs.strict
|
||||
}
|
||||
}
|
||||
]);
|
||||
|
||||
export default eslintConfig;
|
||||
|
||||
Reference in New Issue
Block a user