Flow: The lint rule `deprecated-utility` is not documented

Created on 15 Dec 2018  路  3Comments  路  Source: facebook/flow

The new lint rule deprecated-utility introduced in flow 0.89 is not documented

Accepting PRs flow.org help wanted

All 3 comments

cc @dsainati1

excuse me, but settingdeprecated-utility=false breaks flow, this is my .flowconfig

[ignore]
.*/node_modules/.*
.*/dist/.*

[include]

[libs]
flow-typed

[options]
all=true
deprecated-utility=false

flow says:

.flowconfig:12 Unable to parse line.

This isn't how you turn off a lint error. You have to use the [lints] section of the .flowconfig, and set deprecated-utility=off

Was this page helpful?
0 / 5 - 0 ratings