eslint-plugin-richlab
Advanced tools
Comparing version 1.0.0 to 1.0.1
/** | ||
* @fileoverview The custom rules created by @pirosikick | ||
* @fileoverview The custom rules created by RichLab | ||
* @author Hiroyuki ANAI<pirosikick@gmail.com> | ||
@@ -10,4 +10,6 @@ * @copyright 2015 Hiroyuki ANAI. All rights reserved. | ||
//------------------------------------------------------------------------------ | ||
// Requirements | ||
// Plugin Definition | ||
//------------------------------------------------------------------------------ | ||
// import all rules in lib/rules | ||
; | ||
@@ -19,13 +21,10 @@ Object.defineProperty(exports, "__esModule", { | ||
var _requireindex = require("requireindex"); | ||
var _avoidIos9ViewportBug = require("./rules/avoid-ios9-viewport-bug"); | ||
var _requireindex2 = _interopRequireDefault(_requireindex); | ||
var _avoidIos9ViewportBug2 = _interopRequireDefault(_avoidIos9ViewportBug); | ||
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } | ||
//------------------------------------------------------------------------------ | ||
// Plugin Definition | ||
//------------------------------------------------------------------------------ | ||
// import all rules in lib/rules | ||
var rules = exports.rules = (0, _requireindex2.default)("./rules"); | ||
var rules = exports.rules = { | ||
"avoid-ios9-viewport-bug": _avoidIos9ViewportBug2.default | ||
}; |
@@ -11,3 +11,3 @@ 'use strict'; | ||
var avoidIOS9ViewportBugs = function avoidIOS9ViewportBugs(context) { | ||
function avoidIOS9ViewportBugs(context) { | ||
return { | ||
@@ -27,3 +27,3 @@ MemberExpression: function MemberExpression(node) { | ||
exports.default = avoidIOS9ViewportBugs; | ||
exports.message = message; | ||
exports.message = message; | ||
exports.default = avoidIOS9ViewportBugs; |
{ | ||
"name": "eslint-plugin-richlab", | ||
"version": "1.0.0", | ||
"description": "An ESLint plugin created by RichLab", | ||
"keywords": [ | ||
"eslint", | ||
"eslintplugin", | ||
"eslint-plugin" | ||
], | ||
"version": "1.0.1", | ||
"author": "Hiroyuki ANAI<pirosikick@gmail.com>", | ||
"main": "lib/index.js", | ||
"files": ["lib", "README.md"], | ||
"scripts": { | ||
"test": "mocha --compilers js:babel-core/register tests/**/*.js", | ||
"watch-test": "mocha -w --compilers js:babel-core/register tests/**/*.js", | ||
"build": "babel src -d lib", | ||
"watch-build": "babel -w src -d lib", | ||
"prepublish": "npm test && npm run build" | ||
"bugs": { | ||
"url": "https://github.com/richlab-corp/eslint-plugin-richlab/issues" | ||
}, | ||
"dependencies": { | ||
"requireindex": "~1.1.0" | ||
}, | ||
"contributors": [ | ||
{ | ||
"name": "Daisuke Kobayashi", | ||
"email": "banana0928@gmail.com", | ||
"url": "https://github.com/bonegollira" | ||
} | ||
], | ||
"devDependencies": { | ||
@@ -29,2 +22,3 @@ "babel-cli": "^6.0.12", | ||
"espower-babel": "^3.3.0", | ||
"fixpack": "^2.2.0", | ||
"mocha": "^2.3.3" | ||
@@ -35,3 +29,26 @@ }, | ||
}, | ||
"license": "MIT" | ||
"files": [ | ||
"lib", | ||
"README.md" | ||
], | ||
"homepage": "https://github.com/richlab-corp/eslint-plugin-richlab", | ||
"keywords": [ | ||
"eslint", | ||
"eslint-plugin", | ||
"eslintplugin" | ||
], | ||
"license": "MIT", | ||
"main": "lib/index.js", | ||
"repository": { | ||
"type": "git", | ||
"url": "https://github.com/richlab-corp/eslint-plugin-richlab.git" | ||
}, | ||
"scripts": { | ||
"build": "babel src -d lib", | ||
"fixpack": "fixpack", | ||
"prepublish": "npm build && npm test && npm run build", | ||
"test": "mocha --compilers js:babel-core/register tests/**/*.js", | ||
"watch-build": "babel -w src -d lib", | ||
"watch-test": "mocha -w --compilers js:babel-core/register tests/**/*.js" | ||
} | ||
} |
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
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
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
No bug tracker
MaintenancePackage does not have a linked bug tracker in package.json.
Found 1 instance in 1 package
No repository
Supply chain riskPackage does not have a linked source code repository. Without this field, a package will have no reference to the location of the source code use to generate the package.
Found 1 instance in 1 package
No website
QualityPackage does not have a website.
Found 1 instance in 1 package
4347
0
0
7
42
1
- Removedrequireindex@~1.1.0
- Removedrequireindex@1.1.0(transitive)