Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

eslint-plugin-ember

Package Overview
Dependencies
Maintainers
4
Versions
189
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

eslint-plugin-ember - npm Package Compare versions

Comparing version 1.1.0 to 2.0.0

.editorconfig

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

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