Various post-repo-split cleanup (#6910)

no issue

- remove bower from dependencies, greenkeeper ignores & .editorconfig
- remove old custom jscs rule for ember
This commit is contained in:
Hannah Wolfe 2016-07-12 18:55:46 +01:00 committed by Austin Burdine
parent f3a7dc2f99
commit 71282a241e
4 changed files with 1 additions and 36 deletions

View File

@ -13,7 +13,7 @@ trim_trailing_whitespace = true
[*.hbs] [*.hbs]
insert_final_newline = false insert_final_newline = false
[{package,bower}.json] [{package}.json]
indent_size = 2 indent_size = 2
[*.md] [*.md]

View File

@ -1,5 +1,4 @@
{ {
"additionalRules": [ "core/test/utils/jscs-rules/*.js" ],
"requireCurlyBraces": [ "requireCurlyBraces": [
"if", "if",
"else", "else",

View File

@ -1,32 +0,0 @@
var assert = require('assert');
module.exports = function () {};
module.exports.prototype = {
configure: function (disallowObjectController) {
assert(
typeof disallowObjectController === 'boolean',
'disallowObjectController option requires boolean value'
);
assert(
disallowObjectController === true,
'disallowObjectController option requires true value or should be removed'
);
},
getOptionName: function () {
return 'disallowObjectController';
},
check: function (file, errors) {
var lines = file.getLines();
lines.forEach(function (line, index) {
var location = line.indexOf('ObjectController.extend');
if (location !== -1) {
errors.add('Ember.ObjectController is deprecated, please use Ember.Controller and access model properties directly.', index + 1, location + 1);
}
});
}
};

View File

@ -76,7 +76,6 @@
"pg": "4.1.1" "pg": "4.1.1"
}, },
"devDependencies": { "devDependencies": {
"bower": "1.4.1",
"csscomb": "3.1.8", "csscomb": "3.1.8",
"grunt": "1.0.1", "grunt": "1.0.1",
"grunt-bg-shell": "2.3.3", "grunt-bg-shell": "2.3.3",
@ -109,7 +108,6 @@
}, },
"greenkeeper": { "greenkeeper": {
"ignore": [ "ignore": [
"bower",
"glob", "glob",
"mysql", "mysql",
"nodemailer", "nodemailer",