Skip to content

Commit

Permalink
Merge pull request #31 from sandersky/master
Browse files Browse the repository at this point in the history
Warn on object curly spacing
  • Loading branch information
sandersky committed Jan 3, 2017
2 parents fa09c81 + 26bcce3 commit 6c07906
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
1 change: 1 addition & 0 deletions eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@
"no-unused-expressions": [2, {
"allowTernary": true
}],
"object-curly-spacing": [1, "never"],
"ocd/sort-import-declaration-specifiers": 1,
"ocd/sort-import-declarations": [
1,
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,8 @@
"eslint-config-standard": "^5.3.5",
"eslint-plugin-ember-standard": "0.0.18",
"eslint-plugin-mocha": "^4.7.0",
"eslint-plugin-ocd": "0.0.5",
"eslint-plugin-ocd": "0.0.6",
"eslint-plugin-promise": "^2.0.0",
"eslint-plugin-standard": "^2.0.0"
}
}
}
4 changes: 4 additions & 0 deletions tests/index-spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,10 @@ describe('config', () => {
expect(config.rules['no-unused-expressions']).not.to.equal(undefined)
})

it('should include object-curly-spacing', () => {
expect(config.rules['object-curly-spacing']).not.to.equal(undefined)
})

it('should include valid-jsdoc', () => {
expect(config.rules['valid-jsdoc']).not.to.equal(undefined)
})
Expand Down

0 comments on commit 6c07906

Please sign in to comment.