feat : concept creation

This commit is contained in:
2025-01-13 22:33:55 +01:00
parent 8223ca5166
commit 452d76ca4b
8 changed files with 1279 additions and 54 deletions
+28 -25
View File
@@ -1,10 +1,13 @@
import typescriptEslintEslintPlugin from '@typescript-eslint/eslint-plugin';
import globals from 'globals';
import tsParser from '@typescript-eslint/parser';
import path from 'node:path';
import { fileURLToPath } from 'node:url';
import js from '@eslint/js';
import { FlatCompat } from '@eslint/eslintrc';
/* eslint-disable @typescript-eslint/no-unsafe-member-access */
/* eslint-disable @typescript-eslint/no-unsafe-call */
/* eslint-disable @typescript-eslint/no-unsafe-assignment */
import typescriptEslintEslintPlugin from "@typescript-eslint/eslint-plugin";
import globals from "globals";
import tsParser from "@typescript-eslint/parser";
import path from "node:path";
import { fileURLToPath } from "node:url";
import js from "@eslint/js";
import { FlatCompat } from "@eslint/eslintrc";
const __filename = fileURLToPath(import.meta.url);
const __dirname = path.dirname(__filename);
@@ -16,15 +19,15 @@ const compat = new FlatCompat({
export default [
{
ignores: ['**/.eslintrc.js'],
ignores: ["**/.eslintrc.js"],
},
...compat.extends(
'plugin:@typescript-eslint/recommended-type-checked',
'plugin:prettier/recommended',
"plugin:@typescript-eslint/recommended-type-checked",
"plugin:prettier/recommended"
),
{
plugins: {
'@typescript-eslint': typescriptEslintEslintPlugin,
"@typescript-eslint": typescriptEslintEslintPlugin,
},
languageOptions: {
@@ -35,27 +38,27 @@ export default [
parser: tsParser,
ecmaVersion: 5,
sourceType: 'module',
sourceType: "module",
parserOptions: {
project: 'tsconfig.json',
tsconfigRootDir: '/home/legonzaur/Documents/code/concept/back',
project: "tsconfig.json",
tsconfigRootDir: __dirname,
},
},
rules: {
'@typescript-eslint/interface-name-prefix': 'off',
'@typescript-eslint/explicit-function-return-type': 'off',
'@typescript-eslint/explicit-module-boundary-types': 'off',
'@typescript-eslint/no-explicit-any': 'off',
'require-await': 'off',
'@typescript-eslint/require-await': 'error',
'@typescript-eslint/no-unused-vars': [
'warn',
"@typescript-eslint/interface-name-prefix": "off",
"@typescript-eslint/explicit-function-return-type": "off",
"@typescript-eslint/explicit-module-boundary-types": "off",
"@typescript-eslint/no-explicit-any": "off",
"require-await": "off",
"@typescript-eslint/require-await": "error",
"@typescript-eslint/no-unused-vars": [
"warn",
{
argsIgnorePattern: '^_',
varsIgnorePattern: '^_',
caughtErrorsIgnorePattern: '^_',
argsIgnorePattern: "^_",
varsIgnorePattern: "^_",
caughtErrorsIgnorePattern: "^_",
},
],
},