eslint-plugin-ember
Advanced tools
Comparing version 1.1.0 to 2.0.0
46
index.js
@@ -1,25 +0,29 @@ | ||
/* * | ||
* @author Douglas | ||
* @fileoverview exports ember plugins for eslint | ||
* */ | ||
'use strict'; | ||
(function (){ | ||
var fs = require('fs'); | ||
var resolve = require('path').resolve; | ||
var requireIndex = require('requireindex'); | ||
'use strict'; | ||
var rules = {}; | ||
var ruleDir = resolve(__dirname, 'rules'); | ||
module.exports = { | ||
rules: { // export rules | ||
'ember-extend-comments': require('./rules/ember-extend-comments.js'), | ||
'ember-reopenclass-comments': require('./rules/ember-reopenclass-comments.js'), | ||
'ember-newline-extend': require('./rules/ember-newline-extend.js'), | ||
'ember-newline-reopenclass': require('./rules/ember-newline-reopenclass.js') | ||
}, | ||
rulesConfig: { // Default config | ||
'ember-extend-comments': 2, | ||
'ember-reopenclass-comments': 2, | ||
'ember-newline-extend': 2, | ||
'ember-newline-reopenclass': 2 | ||
} | ||
}; | ||
fs.readdirSync(ruleDir).forEach(function(name) { | ||
var match = name.match(/(.+)\.js$/); | ||
if (match) { | ||
rules[match[1]] = require(resolve(ruleDir, name)); | ||
} | ||
}); | ||
})(); | ||
var configs = requireIndex(resolve(__dirname, 'config')); | ||
var ember = require(resolve(ruleDir, 'utils/ember')); | ||
var utils = require(resolve(ruleDir, 'utils/utils')); | ||
module.exports = { | ||
rules: rules, | ||
configs: configs, | ||
utils: { | ||
ember: ember, | ||
utils: utils | ||
} | ||
}; |
{ | ||
"name": "eslint-plugin-ember", | ||
"version": "1.1.0", | ||
"description": "Provides ember rules for eslint", | ||
"version": "2.0.0", | ||
"description": "Eslint plugin for Ember.js apps", | ||
"main": "index.js", | ||
"directories": { | ||
"rules": "rules", | ||
"test": "test" | ||
}, | ||
"scripts": { | ||
"test": "gulp test", | ||
"start": "gulp watch" | ||
}, | ||
"repository": { | ||
"type": "git", | ||
"url": "https://github.com/zipscene/eslint-plugin-ember" | ||
"url": "git+https://github.com/netguru/eslint-plugin-ember.git" | ||
}, | ||
"bugs": { | ||
"url": "https://github.com/zipscene/eslint-plugin-ember/issues" | ||
}, | ||
"keywords": [ | ||
"eslint", | ||
"ember" | ||
"ember", | ||
"ember.js", | ||
"plugin", | ||
"styleguide", | ||
"rules" | ||
], | ||
"author": "Zipscene, LLC", | ||
"author": "Michał Sajnóg <michal.sajnog@hotmail.com> (http://github.com/michalsnik)", | ||
"contributors": [ | ||
"Rafał Leszczyński <raf.leszcz@gmail.com> (http://github.com/rafleszczynski)", | ||
"Adrian Zalewski (http://github.com/bardzusny)", | ||
"Kamil Ejsymont (http://github.com/netes)", | ||
"Casey Watts (http://github.com/caseywatts)", | ||
"Steve Gargan (http://github.com/sgargan)" | ||
], | ||
"engines": { | ||
"node": ">=6.3" | ||
}, | ||
"license": "MIT", | ||
"peerDependencies": { | ||
"eslint": ">=0.8.0" | ||
"bugs": { | ||
"url": "https://github.com/netguru/eslint-plugin-ember/issues" | ||
}, | ||
"homepage": "https://github.com/netguru/eslint-plugin-ember#readme", | ||
"devDependencies": { | ||
"babel-eslint": "^7.1.0", | ||
"chai": "^3.5.0", | ||
"eslint": "^3.4.0", | ||
"gulp": "^3.9.1", | ||
"gulp-istanbul": "^1.1.1", | ||
"gulp-mocha": "^3.0.1" | ||
}, | ||
"dependencies": { | ||
"requireindex": "^1.1.0", | ||
"snake-case": "^2.1.0" | ||
} | ||
} |
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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
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
Dynamic require
Supply chain riskDynamic require can indicate the package is performing dangerous or unsafe dynamic code execution.
Found 1 instance in 1 package
Filesystem access
Supply chain riskAccesses the file system, and could potentially read sensitive data.
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
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
No website
QualityPackage does not have a website.
Found 1 instance in 1 package
129001
55
2954
0
161
2
6
4
2
+ Addedrequireindex@^1.1.0
+ Addedsnake-case@^2.1.0
+ Addedlower-case@1.1.4(transitive)
+ Addedno-case@2.3.2(transitive)
+ Addedrequireindex@1.2.0(transitive)
+ Addedsnake-case@2.1.0(transitive)
- Removed@eslint-community/eslint-utils@4.4.1(transitive)
- Removed@eslint-community/regexpp@4.12.1(transitive)
- Removed@eslint/config-array@0.19.0(transitive)
- Removed@eslint/core@0.9.0(transitive)
- Removed@eslint/eslintrc@3.2.0(transitive)
- Removed@eslint/js@9.15.0(transitive)
- Removed@eslint/object-schema@2.1.4(transitive)
- Removed@eslint/plugin-kit@0.2.3(transitive)
- Removed@humanfs/core@0.19.1(transitive)
- Removed@humanfs/node@0.16.6(transitive)
- Removed@humanwhocodes/module-importer@1.0.1(transitive)
- Removed@humanwhocodes/retry@0.3.10.4.1(transitive)
- Removed@types/estree@1.0.6(transitive)
- Removed@types/json-schema@7.0.15(transitive)
- Removedacorn@8.14.0(transitive)
- Removedacorn-jsx@5.3.2(transitive)
- Removedajv@6.12.6(transitive)
- Removedansi-styles@4.3.0(transitive)
- Removedargparse@2.0.1(transitive)
- Removedbalanced-match@1.0.2(transitive)
- Removedbrace-expansion@1.1.11(transitive)
- Removedcallsites@3.1.0(transitive)
- Removedchalk@4.1.2(transitive)
- Removedcolor-convert@2.0.1(transitive)
- Removedcolor-name@1.1.4(transitive)
- Removedconcat-map@0.0.1(transitive)
- Removedcross-spawn@7.0.6(transitive)
- Removeddebug@4.3.7(transitive)
- Removeddeep-is@0.1.4(transitive)
- Removedescape-string-regexp@4.0.0(transitive)
- Removedeslint@9.15.0(transitive)
- Removedeslint-scope@8.2.0(transitive)
- Removedeslint-visitor-keys@3.4.34.2.0(transitive)
- Removedespree@10.3.0(transitive)
- Removedesquery@1.6.0(transitive)
- Removedesrecurse@4.3.0(transitive)
- Removedestraverse@5.3.0(transitive)
- Removedesutils@2.0.3(transitive)
- Removedfast-deep-equal@3.1.3(transitive)
- Removedfast-json-stable-stringify@2.1.0(transitive)
- Removedfast-levenshtein@2.0.6(transitive)
- Removedfile-entry-cache@8.0.0(transitive)
- Removedfind-up@5.0.0(transitive)
- Removedflat-cache@4.0.1(transitive)
- Removedflatted@3.3.2(transitive)
- Removedglob-parent@6.0.2(transitive)
- Removedglobals@14.0.0(transitive)
- Removedhas-flag@4.0.0(transitive)
- Removedignore@5.3.2(transitive)
- Removedimport-fresh@3.3.0(transitive)
- Removedimurmurhash@0.1.4(transitive)
- Removedis-extglob@2.1.1(transitive)
- Removedis-glob@4.0.3(transitive)
- Removedisexe@2.0.0(transitive)
- Removedjs-yaml@4.1.0(transitive)
- Removedjson-buffer@3.0.1(transitive)
- Removedjson-schema-traverse@0.4.1(transitive)
- Removedjson-stable-stringify-without-jsonify@1.0.1(transitive)
- Removedkeyv@4.5.4(transitive)
- Removedlevn@0.4.1(transitive)
- Removedlocate-path@6.0.0(transitive)
- Removedlodash.merge@4.6.2(transitive)
- Removedminimatch@3.1.2(transitive)
- Removedms@2.1.3(transitive)
- Removednatural-compare@1.4.0(transitive)
- Removedoptionator@0.9.4(transitive)
- Removedp-limit@3.1.0(transitive)
- Removedp-locate@5.0.0(transitive)
- Removedparent-module@1.0.1(transitive)
- Removedpath-exists@4.0.0(transitive)
- Removedpath-key@3.1.1(transitive)
- Removedprelude-ls@1.2.1(transitive)
- Removedpunycode@2.3.1(transitive)
- Removedresolve-from@4.0.0(transitive)
- Removedshebang-command@2.0.0(transitive)
- Removedshebang-regex@3.0.0(transitive)
- Removedstrip-json-comments@3.1.1(transitive)
- Removedsupports-color@7.2.0(transitive)
- Removedtype-check@0.4.0(transitive)
- Removeduri-js@4.4.1(transitive)
- Removedwhich@2.0.2(transitive)
- Removedword-wrap@1.2.5(transitive)
- Removedyocto-queue@0.1.0(transitive)