Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Generate ESLint globals file for auto-imports #450

Merged
merged 5 commits into from
Feb 15, 2024
Merged
Changes from 1 commit
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
Prev Previous commit
Next Next commit
Cleanup
  • Loading branch information
aklinker1 committed Feb 15, 2024
commit 84b85e5e87e68ea68dc9423e1efb2da7b9f58731
2 changes: 1 addition & 1 deletion e2e/tests/auto-imports.test.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { describe, it, expect } from 'vitest';
import { TestProject } from '../utils';
import { resolve } from 'path';

Check failure on line 3 in e2e/tests/auto-imports.test.ts

View workflow job for this annotation

GitHub Actions / type-check

'resolve' is declared but its value is never read.

describe('Auto Imports', () => {
describe('imports: { ... }', () => {
Expand Down Expand Up @@ -141,7 +141,7 @@
imports: {
eslintrc: {
enabled: true,
filePath: resolve(project.root, 'example.json'),
filePath: project.resolvePath('example.json'),
globalsPropValue: 'readonly',
},
},
Expand Down
Loading