Skip to content

Commit

Permalink
Test with TypeScript configuration file
Browse files Browse the repository at this point in the history
  • Loading branch information
fasttime committed Oct 26, 2024
1 parent 1a0186c commit a2f3465
Show file tree
Hide file tree
Showing 5 changed files with 306 additions and 51 deletions.
235 changes: 235 additions & 0 deletions package-lock.json

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

3 changes: 3 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -53,17 +53,20 @@
"devDependencies": {
"@eslint/js": "^8.57.1",
"@origin-1/eslint-config": "^1.6.1",
"@types/eslint__js": "^8.42.3",
"c8js": "^0.8.0",
"eslint-8.0": "npm:[email protected]",
"eslint-8.21": "npm:[email protected]",
"eslint-8.x": "npm:[email protected]",
"eslint-9.0": "npm:[email protected]",
"eslint-9.x": "npm:[email protected]",
"eslint-config-~shareable": "file:test/config",
"eslint-formatter-~formatter": "file:test/formatter",
"eslint-formatter-compact": "^8.40.0",
"eslint-plugin-tsdoc": "^0.3.0",
"globals": "^15.11.0",
"gulp": "^5.0.0",
"jiti": "^2.3.3",
"mocha": "^9.2.2",
"resolve": "^1.22.8",
"typescript": "~5.6.3",
Expand Down
6 changes: 6 additions & 0 deletions test/config/ts-config.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
import js from '@eslint/js';
import type { Linter } from 'eslint';

const recommended: Linter.Config = js.configs.recommended;

export default [recommended, { rules: { 'eol-last': 'error', 'no-undef': 'off' } }];
Loading

0 comments on commit a2f3465

Please sign in to comment.