feat: introduce Gatekeeper application, Directus utilities, and monorepo configuration for linting, testing, and husky hooks.
This commit is contained in:
3
packages/eslint-config/index.d.ts
vendored
Normal file
3
packages/eslint-config/index.d.ts
vendored
Normal file
@@ -0,0 +1,3 @@
|
||||
export const baseConfig: any;
|
||||
declare const config: any;
|
||||
export default config;
|
||||
14
packages/eslint-config/index.js
Normal file
14
packages/eslint-config/index.js
Normal file
@@ -0,0 +1,14 @@
|
||||
import js from "@eslint/js";
|
||||
import tseslint from "typescript-eslint";
|
||||
|
||||
export default tseslint.config(
|
||||
js.configs.recommended,
|
||||
...tseslint.configs.recommended,
|
||||
{
|
||||
rules: {
|
||||
"no-unused-vars": "warn",
|
||||
"no-console": "off",
|
||||
"@typescript-eslint/no-explicit-any": "off",
|
||||
},
|
||||
},
|
||||
);
|
||||
3
packages/eslint-config/next.d.ts
vendored
Normal file
3
packages/eslint-config/next.d.ts
vendored
Normal file
@@ -0,0 +1,3 @@
|
||||
export const nextConfig: any;
|
||||
declare const config: any;
|
||||
export default config;
|
||||
@@ -8,11 +8,19 @@
|
||||
"type": "module",
|
||||
"main": "index.js",
|
||||
"exports": {
|
||||
".": "./index.js",
|
||||
"./next": "./next.js"
|
||||
".": {
|
||||
"types": "./index.d.ts",
|
||||
"default": "./index.js"
|
||||
},
|
||||
"./next": {
|
||||
"types": "./next.d.ts",
|
||||
"default": "./next.js"
|
||||
}
|
||||
},
|
||||
"dependencies": {
|
||||
"@eslint/eslintrc": "^3.0.0",
|
||||
"eslint-config-next": "15.1.6"
|
||||
"@eslint/js": "^9.39.2",
|
||||
"eslint-config-next": "15.1.6",
|
||||
"typescript-eslint": "^8.54.0"
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user