Skip to content

Commit

Permalink
chore: minor monorepo cleanup
Browse files Browse the repository at this point in the history
Signed-off-by: Fernando Fernández <[email protected]>
  • Loading branch information
ferferga committed Dec 6, 2024
1 parent d919164 commit d956503
Show file tree
Hide file tree
Showing 6 changed files with 5 additions and 10 deletions.
2 changes: 1 addition & 1 deletion frontend/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"extends": "@jellyfin-vue/configs/typescript/base.json",
"extends": "@jellyfin-vue/configs/typescript",
"compilerOptions": {
"types": [
"axios",
Expand Down
2 changes: 0 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 2 additions & 3 deletions packages/configs/lint/rules/base.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ import js from '@eslint/js';
import stylistic from '@stylistic/eslint-plugin';
import { configs as dependConfigs } from 'eslint-plugin-depend';
import gitignore from 'eslint-config-flat-gitignore';
// @ts-expect-error - No types available
import fileProgress from 'eslint-plugin-file-progress';
import { eqeqeqConfig } from '../shared';

Expand All @@ -20,7 +19,7 @@ const CI_environment = Boolean(process.env.CI);
* @param forceCache - Whether to enable ESLint caching for this run (default `true`)
* @param warningAsErrors - All warnings are treated as errors (default `true`)
*/
export function getBaseConfig(packageName: string, forceCache = !CI_environment, warningAsErrors = true): Linter.Config[] {
export function getBaseConfig(packageName: string, forceCache = !CI_environment, warningAsErrors = true) {
const cliOverrides = forceCache || warningAsErrors;

/**
Expand Down Expand Up @@ -176,5 +175,5 @@ export function getBaseConfig(packageName: string, forceCache = !CI_environment,
'file-progress/activate': CI_environment ? 0 : 1
}
}
];
] satisfies Linter.Config[];
};
3 changes: 1 addition & 2 deletions packages/configs/package.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
{
"name": "@jellyfin-vue/configs",
"version": "0.0.1",
"type": "module",
"exports": {
"./typescript/base.json": "./typescript/base.json",
"./typescript": "./typescript/base.json",
"./lint": "./lint/index.ts",
"./unocss": "./unocss.ts"
},
Expand Down
2 changes: 1 addition & 1 deletion packages/configs/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"extends": "./typescript/base.json",
"include": [
"eslint/**/*.ts",
"lint/**/*.ts",
"*.ts"
]
}
1 change: 0 additions & 1 deletion packages/vite-plugins/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
{
"name": "@jellyfin-vue/vite-plugins",
"version": "0.0.1",
"exports": "./index.ts",
"type": "module",
"scripts": {
Expand Down

0 comments on commit d956503

Please sign in to comment.