Skip to content

Commit

Permalink
style: apply automated linter fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
megalinter-bot committed Sep 15, 2023
1 parent e24469f commit 2b0d877
Show file tree
Hide file tree
Showing 4 changed files with 22 additions and 33 deletions.
6 changes: 3 additions & 3 deletions src/cli/main.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import {Command} from 'commander';
import {SafeDsLanguageMetaData} from '../language/generated/module.js';
import {generateAction} from './generator.js';
import { Command } from 'commander';
import { SafeDsLanguageMetaData } from '../language/generated/module.js';
import { generateAction } from './generator.js';
import * as path from 'node:path';

const packagePath = path.resolve(__dirname, '..', '..', 'package.json');
Expand Down
4 changes: 2 additions & 2 deletions tests/cli/main.test.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import {beforeAll, describe, expect, it} from 'vitest';
import { beforeAll, describe, expect, it } from 'vitest';
import path from 'node:path';
import { spawnSync, execSync } from 'node:child_process';
import url from "node:url";
import url from 'node:url';

// eslint-disable-next-line @typescript-eslint/naming-convention
const __dirname = url.fileURLToPath(new URL('.', import.meta.url));
Expand Down
8 changes: 1 addition & 7 deletions tsconfig.eslint.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,6 @@
"compilerOptions": {
"noEmit": true
},
"include": [
"./.eslintrc.cjs",
"./bin/cli.js",
"./docs/javascript/**/*",
"./src/**/*",
"./tests/**/*"
],
"include": ["./.eslintrc.cjs", "./bin/cli.js", "./docs/javascript/**/*", "./src/**/*", "./tests/**/*"],
"exclude": []
}
37 changes: 16 additions & 21 deletions tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,24 +1,19 @@
{
"compilerOptions": {
"target": "ES2017",
"module": "Node16",
"lib": ["ESNext", "DOM", "WebWorker"],
"sourceMap": true,
"outDir": "out",
"strict": true,
"noUnusedLocals": true,
"noImplicitReturns": true,
"noImplicitOverride": true,
"moduleResolution": "Node16",
"esModuleInterop": true,
"skipLibCheck": true,
"forceConsistentCasingInFileNames": true
"target": "ES2017",
"module": "Node16",
"lib": ["ESNext", "DOM", "WebWorker"],
"sourceMap": true,
"outDir": "out",
"strict": true,
"noUnusedLocals": true,
"noImplicitReturns": true,
"noImplicitOverride": true,
"moduleResolution": "Node16",
"esModuleInterop": true,
"skipLibCheck": true,
"forceConsistentCasingInFileNames": true
},
"include": [
"src/**/*.ts"
],
"exclude": [
"out",
"node_modules"
]
}
"include": ["src/**/*.ts"],
"exclude": ["out", "node_modules"]
}

0 comments on commit 2b0d877

Please sign in to comment.