You're Invited: Meet the Socket team at BSidesSF and RSAC - April 27 - May 1.RSVP
Socket
Sign inDemoInstall
Socket

eslint-plugin-backbone

Package Overview
Dependencies
Maintainers
1
Versions
21
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

eslint-plugin-backbone - npm Package Compare versions

Comparing version

to
1.0.4

2

lib/backbone-helper.js

@@ -41,3 +41,3 @@ function isBackboneBase(node, settings) {

return settings.some(function(item) {
return item.postfix ? item.postfix === object.property.name : item.prefix === object.name;
return item.postfix && object.property ? item.postfix === object.property.name : item.prefix === object.name;
});

@@ -44,0 +44,0 @@ }

{
"name": "eslint-plugin-backbone",
"version": "1.0.3",
"description": "Eslint rules for Backbone.",
"main": "index.js",
"scripts": {
"test": "npm run lint && npm run unit-test --coverage && npm run check-coverage",
"lint": "eslint ./",
"unit-test": "istanbul test --dir build/coverage node_modules/mocha/bin/_mocha tests/**/*.js -- --recursive --reporter dot",
"check-coverage": "istanbul check-coverage --statement 100 --branch 100 --function 100 --lines 100",
"report-coverage-html": "istanbul report --dir build/coverage html"
},
"devDependencies": {
"istanbul": "0.3.0",
"mocha": "1.21.4",
"eslint": ">=1.0.0"
},
"repository": {
"type": "git",
"url": "git://github.com/ilyavolodin/eslint-plugin-backbone.git"
},
"author": "Ilya Volodin <ivolodin@gmail.com>",
"license": "MIT",
"bugs": {
"url": "https://github.com/ilyavolodin/eslint-plugin-backbone/issues"
},
"homepage": "https://github.com/ilyavolodin/eslint-plugin-backbone",
"keywords": [
"eslint-plugin",
"eslintplugin",
"backbone",
"eslint"
]
"name": "eslint-plugin-backbone",
"version": "1.0.4",
"description": "Eslint rules for Backbone.",
"main": "index.js",
"scripts": {
"test": "npm run lint && npm run unit-test --coverage && npm run check-coverage",
"lint": "eslint ./",
"unit-test": "istanbul test --dir build/coverage node_modules/mocha/bin/_mocha tests/**/*.js -- --recursive --reporter dot",
"check-coverage": "istanbul check-coverage --statement 100 --branch 100 --function 100 --lines 100",
"report-coverage-html": "istanbul report --dir build/coverage html"
},
"devDependencies": {
"istanbul": "0.3.0",
"mocha": "1.21.4",
"eslint": ">=1.0.0"
},
"repository": {
"type": "git",
"url": "git://github.com/ilyavolodin/eslint-plugin-backbone.git"
},
"author": "Ilya Volodin <ivolodin@gmail.com>",
"license": "MIT",
"bugs": {
"url": "https://github.com/ilyavolodin/eslint-plugin-backbone/issues"
},
"homepage": "https://github.com/ilyavolodin/eslint-plugin-backbone",
"keywords": [
"eslint-plugin",
"eslintplugin",
"backbone",
"eslint"
]
}

@@ -15,10 +15,10 @@ [![NPM version][npm-image]][npm-url]

npm install eslint@">=0.8.2"
npm install eslint@">=1.0.0"
or
npm install eslint@">=0.8.2" --save-dev
npm install eslint@">=1.0.0" --save-dev
```
eslint-plugin-backbone requires `ESLint` with version greater then 0.8.1 or 0.8.2 if you would like to use your own base models.
eslint-plugin-backbone requires `ESLint` with version greater then 1.0.0 if you would like to use your own base models.

@@ -25,0 +25,0 @@ ## Install Backbone plugins.

Sorry, the diff of this file is not supported yet