Should I use triple slash reference when using @eslint-types/typescript-eslint or something else? #292
-
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. |
Beta Was this translation helpful? Give feedback.
Answered by
Shinigami92
Apr 21, 2024
Replies: 1 comment 1 reply
-
Yes, currently this is the correct way |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
socker210
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Yes, currently this is the correct way