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:
parent
f3a7dc2f99
commit
71282a241e
@ -13,7 +13,7 @@ trim_trailing_whitespace = true
|
||||
[*.hbs]
|
||||
insert_final_newline = false
|
||||
|
||||
[{package,bower}.json]
|
||||
[{package}.json]
|
||||
indent_size = 2
|
||||
|
||||
[*.md]
|
||||
|
1
.jscsrc
1
.jscsrc
@ -1,5 +1,4 @@
|
||||
{
|
||||
"additionalRules": [ "core/test/utils/jscs-rules/*.js" ],
|
||||
"requireCurlyBraces": [
|
||||
"if",
|
||||
"else",
|
||||
|
@ -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);
|
||||
}
|
||||
});
|
||||
}
|
||||
};
|
@ -76,7 +76,6 @@
|
||||
"pg": "4.1.1"
|
||||
},
|
||||
"devDependencies": {
|
||||
"bower": "1.4.1",
|
||||
"csscomb": "3.1.8",
|
||||
"grunt": "1.0.1",
|
||||
"grunt-bg-shell": "2.3.3",
|
||||
@ -109,7 +108,6 @@
|
||||
},
|
||||
"greenkeeper": {
|
||||
"ignore": [
|
||||
"bower",
|
||||
"glob",
|
||||
"mysql",
|
||||
"nodemailer",
|
||||
|
Loading…
Reference in New Issue
Block a user