square / eslint-plugin-square

An ESLint plugin containing custom JavaScript, Ember, React, TypeScript rules and configurations tailored to Square's needs.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Rule configuration error for typescript plugin

stephtaylor opened this issue · comments

I'm getting the following error when trying to use the square/typescript plugin. I think the config should be warn, but the comment here makes me think otherwise. Is there something I should change on my end? Thanks!

Error: .eslintrc.js » plugin:square/typescript#overrides[1]:
	Configuration for rule "@typescript-eslint/no-unused-vars" is invalid:
	Severity should be one of the following: 0 = off, 1 = warn, 2 = error (you passed '"warning"').

Definitely a bug on our side! Opened a fix.