Closed srawlins closed 3 years ago
Thanks Sam.
I don't think this is the right place to fix the issue; pedantic
isn't supposed to be anything more than the list of lints we use in google3.
@mit-mit is working on publishing separate lists which are tailored for external users.
The lints
package is now published without unsafe_html
so problem solved. 😁
While
unsafe_html
is an enabled lint at Google, it really only makes sense because of our build rules, access controls, concepts of "owners," etc.I think users are getting more frustrated and confused by this lint rule, and the fact that you cannot
// ignore:
violations. See https://github.com/dart-lang/sdk/issues/45230 and https://github.com/dart-lang/linter/issues/2348.I think it should be removed from the list provided in pedantic's analysis options.