eslint-plugin-flowtype
Advanced tools
Comparing version 2.1.2 to 2.2.0
@@ -23,2 +23,6 @@ 'use strict'; | ||
var _typeIdMatch = require('./rules/typeIdMatch'); | ||
var _typeIdMatch2 = _interopRequireDefault(_typeIdMatch); | ||
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } | ||
@@ -31,3 +35,4 @@ | ||
'space-after-type-colon': _spaceAfterTypeColon2.default, | ||
'space-before-type-colon': _spaceBeforeTypeColon2.default | ||
'space-before-type-colon': _spaceBeforeTypeColon2.default, | ||
'type-id-match': _typeIdMatch2.default | ||
}, | ||
@@ -38,3 +43,4 @@ rulesConfig: { | ||
'space-after-type-colon': 0, | ||
'space-before-type-colon': 0 | ||
'space-before-type-colon': 0, | ||
'type-id-match': 0 | ||
} | ||
@@ -41,0 +47,0 @@ }; |
{ | ||
"name": "eslint-plugin-flowtype", | ||
"description": "Flowtype linting rules for ESLint.", | ||
"version": "2.1.2", | ||
"version": "2.2.0", | ||
"main": "./dist/index.js", | ||
@@ -28,9 +28,6 @@ "repository": { | ||
"scripts": { | ||
"pragmatist": "pragmatist --es5", | ||
"lint": "npm run pragmatist lint", | ||
"test": "npm run pragmatist test", | ||
"build": "npm run pragmatist build", | ||
"watch": "npm run pragmatist watch", | ||
"watch-lint": "npm run pragmatist watch-lint", | ||
"watch-test": "npm run pragmatist watch-test", | ||
"lint": "pragmatist lint", | ||
"test": "pragmatist test --type-assertions", | ||
"watch-test": "pragmatist watch-test --type-assertions", | ||
"build": "pragmatist build --es5", | ||
"readme-add-assertions": "babel-node --presets es2015 ./bin/readmeAssertions", | ||
@@ -42,7 +39,7 @@ "readme": "node ./node_modules/.bin/gitdown ./.README/README.md --output-file ./README.md; npm run readme-add-assertions", | ||
"babel-cli": "^6.6.5", | ||
"babel-eslint": "^6.0.0-beta.2", | ||
"babel-eslint": "^6.0.0-beta.6", | ||
"babel-preset-es2015": "^6.6.0", | ||
"chai": "^3.5.0", | ||
"create-index": "^0.1.2", | ||
"eslint": "^2.3.0", | ||
"eslint": "^2.4.0", | ||
"gitdown": "^2.4.0", | ||
@@ -49,0 +46,0 @@ "globby": "^4.0.0", |
@@ -185,2 +185,10 @@ <h1 id="eslint-plugin-flowtype">eslint-plugin-flowtype</h1> | ||
// Options: ["never"] | ||
export default function (foo: string) {} | ||
// Message: There must be no space after "foo" parameter type annotation colon. | ||
// Options: ["never"] | ||
function foo (foo: string) {} | ||
// Message: There must be no space after "foo" parameter type annotation colon. | ||
// Options: ["always"] | ||
@@ -187,0 +195,0 @@ (foo:string) => {} |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
38857
22
301
266