New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

eslint-plugin-flowtype-errors

Package Overview
Dependencies
Maintainers
2
Versions
83
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

eslint-plugin-flowtype-errors - npm Package Compare versions

Comparing version 4.0.0-1 to 4.0.0-2

10

dist/index.js
"use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.default = void 0;
var _path = _interopRequireDefault(require("path"));

@@ -119,3 +124,3 @@

module.exports = {
var _default = {
rules: {

@@ -173,2 +178,3 @@ 'enforce-min-coverage': function enforceMinCoverage(context) {

}
};
};
exports.default = _default;

8

package.json
{
"name": "eslint-plugin-flowtype-errors",
"version": "4.0.0-1",
"version": "4.0.0-2",
"description": "Retrieve Flow errors as ESLint errors.",

@@ -61,2 +61,3 @@ "author": "Amila Welihinda",

"flow-bin": "0.93.0",
"husky": "^1.3.1",
"jest-cli": "^24.1.0",

@@ -130,3 +131,8 @@ "prettier": "^1.16.4",

]
},
"husky": {
"hooks": {
"pre-commit": "yarn test"
}
}
}

@@ -67,7 +67,8 @@ eslint-plugin-flowtype-errors

Add this line to the 'settings' section of your `.eslintrc` if your `.flowconfig` file is located in a different folder than the execution path of eslint.
Add this line to the 'settings' section of your `.eslintrc` to force the Flow server to stop after it finishes checking types.
```js
"settings": {
"flowtype-errors": {
"flowDir": "./myDir"
"stopOnExit": true
}

@@ -77,4 +78,16 @@ },

Run `eslint` and and you're all set!
**Step 4. Lint**
Run `eslint` and you're all set!
## Support
If this project is saving you (or your team) time, please consider supporting it on Patreon 👍 thank you!
<p>
<a href="https://www.patreon.com/amilajack">
<img src="https://c5.patreon.com/external/logo/become_a_patron_button@2x.png" width="160">
</a>
</p>
## CI Configuration

@@ -81,0 +94,0 @@ **Flow is supported on all OS's except Windows 32bit. Add [this line](https://github.com/amilajack/eslint-plugin-flowtype-errors/blob/master/appveyor.yml#L12) to appveyor to make tests run properly.**

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc