Skip to content

Commit

Permalink
Fix "Unsupported rule: jsDoc" when linting
Browse files Browse the repository at this point in the history
no issue
- add missing jscs-jsdoc dependency and specify plugin in .jscsrc
- fix linting issue in user-test.js
  • Loading branch information
kevinansfield committed Oct 15, 2015
1 parent 9650927 commit c29ad9f
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 1 deletion.
3 changes: 3 additions & 0 deletions .jscsrc
@@ -1,4 +1,7 @@
{
"plugins": [
"jscs-jsdoc"
],
"additionalRules": [ "core/test/utils/jscs-rules/*.js" ],
"requireCurlyBraces": [
"if",
Expand Down
2 changes: 1 addition & 1 deletion core/client/tests/unit/models/user-test.js
Expand Up @@ -4,7 +4,7 @@ import {
it
} from 'ember-mocha';

const { run } = Ember;
const {run} = Ember;

describeModel(
'user',
Expand Down
1 change: 1 addition & 0 deletions package.json
Expand Up @@ -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",
Expand Down

0 comments on commit c29ad9f

Please sign in to comment.