Skip to content

Add ft-flow to disabled rules #364

@JasonWeinzierl

Description

@JasonWeinzierl

eslint-plugin-ft-flow seems to be the modern replacement for eslint-plugin-flowtype, which hasn't been upgraded in years.

When I pulled ft-flow into a recent PR to replace flowtype, I noticed that eslint-config-prettier doesn't disable its rules. I had to add them manually:

      // from eslint-config-prettier, but for ft-flow instead of flowtype
      'ft-flow/boolean-style': 'off',
      'ft-flow/delimiter-dangle': 'off',
      'ft-flow/generic-spacing': 'off',
      'ft-flow/object-type-curly-spacing': 'off',
      'ft-flow/object-type-delimiter': 'off',
      'ft-flow/quotes': 'off',
      'ft-flow/semi': 'off',
      'ft-flow/space-after-type-colon': 'off',
      'ft-flow/space-before-generic-bracket': 'off',
      'ft-flow/space-before-type-colon': 'off',
      'ft-flow/union-intersection-spacing': 'off',

Should these disables be added to this config?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions