Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
34 changes: 34 additions & 0 deletions .oxfmtrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
{
"$schema": "./node_modules/oxfmt/configuration_schema.json",
"semi": true,
"trailingComma": "es5",
"singleQuote": true,
"printWidth": 120,
"tabWidth": 2,
"useTabs": false,
"arrowParens": "always",
"endOfLine": "lf",
"sortPackageJson": true,
"sortImports": {
"newlinesBetween": false,
"groups": [
"type-import",
["value-builtin", "value-external"],
"type-internal",
"value-internal",
["type-parent", "type-sibling", "type-index"],
["value-parent", "value-sibling", "value-index"],
"unknown"
]
},
"ignorePatterns": [
"dist",
"node_modules",
"*.md",
"package.json",
"package-lock.json",
"tsconfig.json",
".eslintrc.json",
".prettierrc.json"
]
}
16 changes: 5 additions & 11 deletions .oxlintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,11 @@
}
],
"@typescript-eslint/explicit-function-return-type": "off",
"@typescript-eslint/explicit-module-boundary-types": "off",
"@typescript-eslint/no-non-null-assertion": "warn",
"@typescript-eslint/no-require-imports": "off",
"no-console": "off"
"no-console": "off",
"prefer-const": "error",
"no-var": "error"
},
"settings": {
"jsdoc": {
Expand All @@ -36,13 +38,5 @@
"builtin": true
},
"globals": {},
"ignorePatterns": [
"node_modules/**",
"dist/**",
"storage/**",
"coverage/**",
"*.config.js",
"vitest.config.ts",
"*.md"
]
"ignorePatterns": ["dist/**", "node_modules/**", "coverage/**", "**/*.js", "**/*.d.ts", "vitest.config.ts"]
}
8 changes: 0 additions & 8 deletions .prettierignore

This file was deleted.

10 changes: 0 additions & 10 deletions .prettierrc.json

This file was deleted.

2 changes: 1 addition & 1 deletion bootstrap/app.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,10 @@ import {
ViewServiceProvider,
Facade,
} from '@orchestr-sh/orchestr';
import config from '@/config';
import { AppServiceProvider } from '@/app/Providers/AppServiceProvider';
import { EventServiceProvider } from '@/app/Providers/EventServiceProvider';
import { RouteServiceProvider } from '@/app/Providers/RouteServiceProvider';
import config from '@/config';

/**
* Create and configure the application
Expand Down
2 changes: 1 addition & 1 deletion bootstrap/cli.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@
* npm run orchestr make:job ProcessPodcast
*/

import { createApp } from './app';
import { AppConsoleKernel } from '@/app/Console/Kernel';
import { createApp } from './app';

async function main() {
const app = createApp();
Expand Down
2 changes: 1 addition & 1 deletion config/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@
*/

import app from './app';
import cache from './cache';
import database from './database';
import queue from './queue';
import cache from './cache';
import view from './view';

export default {
Expand Down
Loading
Loading