diff --git a/__tests__/__snapshots__/index.test.js.snap b/__tests__/__snapshots__/index.test.js.snap index c840b0a..cb22e5e 100644 --- a/__tests__/__snapshots__/index.test.js.snap +++ b/__tests__/__snapshots__/index.test.js.snap @@ -197,7 +197,7 @@ Object { "ft-flow/no-duplicate-type-union-intersection-members": 2, "ft-flow/no-existential-type": 2, "ft-flow/no-flow-fix-me-comments": 0, - "ft-flow/no-flow-fix-me-in-strict-files": 0, + "ft-flow/no-flow-suppressions-in-strict-files": 0, "ft-flow/no-internal-flow-type": 2, "ft-flow/no-mixed": 0, "ft-flow/no-mutable-array": 0, diff --git a/__tests__/__snapshots__/presets.test.js.snap b/__tests__/__snapshots__/presets.test.js.snap index 19fdb74..515e4b8 100644 --- a/__tests__/__snapshots__/presets.test.js.snap +++ b/__tests__/__snapshots__/presets.test.js.snap @@ -588,7 +588,7 @@ Object { "ft-flow/no-duplicate-type-union-intersection-members": 2, "ft-flow/no-existential-type": 2, "ft-flow/no-flow-fix-me-comments": 0, - "ft-flow/no-flow-fix-me-in-strict-files": 0, + "ft-flow/no-flow-suppressions-in-strict-files": 0, "ft-flow/no-internal-flow-type": 2, "ft-flow/no-mixed": 0, "ft-flow/no-mutable-array": 0, diff --git a/package.json b/package.json index 1028cd4..627c8b5 100644 --- a/package.json +++ b/package.json @@ -21,7 +21,7 @@ "eslint-plugin-adeira": "^0.15.0", "eslint-plugin-eslint-comments": "^3.2.0", "eslint-plugin-fb-flow": "^0.0.4", - "eslint-plugin-ft-flow": "^1.1.0", + "eslint-plugin-ft-flow": "^2.0.0", "eslint-plugin-import": "^2.25.3", "eslint-plugin-jest": "^25.3.2", "eslint-plugin-jsx-a11y": "^6.5.1", diff --git a/src/presets/flowtype.js b/src/presets/flowtype.js index bda0dd2..2eb931c 100644 --- a/src/presets/flowtype.js +++ b/src/presets/flowtype.js @@ -27,7 +27,7 @@ module.exports = ({ 'ft-flow/no-duplicate-type-union-intersection-members': ERROR, 'ft-flow/no-existential-type': ERROR, // https://github.com/facebook/flow/issues/6308 'ft-flow/no-flow-fix-me-comments': OFF, - 'ft-flow/no-flow-fix-me-in-strict-files': OFF, // TODO: enable (after fixing our codebase) + 'ft-flow/no-flow-suppressions-in-strict-files': OFF, // TODO: enable (after fixing our codebase) 'ft-flow/no-internal-flow-type': ERROR, 'ft-flow/no-mixed': OFF, 'ft-flow/no-mutable-array': OFF,