Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.
Sign upDisable all rules on a specific line does not work #1105
Comments
This comment has been minimized.
This comment has been minimized.
|
It looks like you're using Flow or TypeScript. You need to use a plugin to help ESLint to parse these (since they're not JavaScript). Take a look at the readme section which explains how to do it: https://standardjs.com/#can-i-use-a-javascript-language-variant-like-flow-or-typescript |
feross
closed this
May 15, 2018
feross
added
the
question
label
May 15, 2018
lock
bot
locked as resolved and limited conversation to collaborators
Aug 13, 2018
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
danhandrea commentedApr 4, 2018
•
edited
import type { MyType } from './my-file' // eslint-disable-lineStill shows
Nevermind, it's not the only issue. I'll just stop using standard.