Skip to content

Commit

Permalink
Fix linter
Browse files Browse the repository at this point in the history
  • Loading branch information
evshi committed Nov 15, 2024
1 parent 2c8c584 commit 346d026
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 6 deletions.
1 change: 0 additions & 1 deletion packages/cli/.eslintignore

This file was deleted.

3 changes: 2 additions & 1 deletion packages/cli/.eslintrc.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
{
"extends": ["oclif", "oclif-typescript", "prettier"]
"extends": ["oclif", "oclif-typescript", "prettier"],
"ignorePatterns": ["./dist"]
}
4 changes: 2 additions & 2 deletions packages/cli/src/commands/apps/get.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { getFirestoreApplicationTransporter, getLocalApplicationTransporter } from '@ensembleui/js-commons'
import {Args, Command, Flags} from '@oclif/core'
import { get } from 'lodash-es'
import { join } from 'node:path'
import * as path from 'node:path'

import { db } from '../../firebase.js'
import { getStoredToken, signInWithEmailPassword } from '../../utils.js'
Expand Down Expand Up @@ -32,7 +32,7 @@ export default class AppsGet extends Command {
await signInWithEmailPassword(email, password);

const appId = args.id;
const dir = join(process.cwd(), flags.dir ?? appId);
const dir = path.join(process.cwd(), flags.dir ?? appId);

try {
const firestoreAppTransporter = getFirestoreApplicationTransporter(db);
Expand Down
3 changes: 2 additions & 1 deletion packages/cli/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@
"strict": true,
"target": "es2022",
"moduleResolution": "node16",
"skipLibCheck": true
"skipLibCheck": true,
"composite": true
},
"include": ["./src/**/*"],
"ts-node": {
Expand Down
2 changes: 1 addition & 1 deletion packages/js-commons/.eslintrc.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
module.exports = {
extends: ["custom/library"],
ignorePatterns: ["tsup.config.ts"],
ignores: ["tsup.config.ts"],
};

0 comments on commit 346d026

Please sign in to comment.