Skip to content

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

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

Should I use triple slash reference when using @eslint-types/typescript-eslint or something else? #291

Closed
socker210 opened this issue Apr 21, 2024 · 0 comments

Comments

@socker210
Copy link

Hi, I found awesome this package yesterday and I am currently using this package now.

When I was setup eslint configs with this, I found guide on docs:

// @ts-check
const { defineConfig } = require('eslint-define-config');

/// <reference types="@eslint-types/typescript-eslint" />

module.exports = defineConfig({
  root: true,
  rules: {
    // rules...
  },
});

When I remove triple slash reference I can infer @eslint-types/typescript-eslint types. So my question is that should i write triple slash reference on config file? Maybe this question is based on typescript.

Thank you.

@eslint-types eslint-types locked and limited conversation to collaborators Apr 21, 2024
@Shinigami92 Shinigami92 converted this issue into discussion #292 Apr 21, 2024

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant