Fix "Unsupported rule: jsDoc" when linting

no issue
- add missing jscs-jsdoc dependency and specify plugin in .jscsrc
- fix linting issue in user-test.js
This commit is contained in:
Kevin Ansfield 2015-10-15 09:24:39 +01:00
parent 9650927076
commit c29ad9f8c5
3 changed files with 5 additions and 1 deletions

View File

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

View File

@ -4,7 +4,7 @@ import {
it
} from 'ember-mocha';
const { run } = Ember;
const {run} = Ember;
describeModel(
'user',

View File

@ -87,6 +87,7 @@
"grunt-mocha-istanbul": "2.4.0",
"grunt-shell": "1.1.2",
"grunt-update-submodules": "0.4.1",
"jscs-jsdoc": "1.2.0",
"matchdep": "0.3.0",
"nock": "2.3.0",
"rewire": "2.3.3",