Skip to content

Commit

Permalink
Remove extra linting rules
Browse files Browse the repository at this point in the history
  • Loading branch information
Mackenzie Turner authored and Mackenzie Turner committed May 21, 2019
1 parent f9e4d13 commit 6ccc463
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 14 deletions.
4 changes: 2 additions & 2 deletions lib/records.js
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ class RecordsDecoder extends Transform {
}

module.exports = {
RecordsDecoder,
getRecordsDecoder,
getRecordsEncoder,
RecordsDecoder
getRecordsEncoder
};
4 changes: 2 additions & 2 deletions lib/records.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ const records = require('./records');
describe('lib/records', () => {
test('the module exports the expected', () => {
expect(records).toEqual({
RecordsDecoder: expect.any(Function),
getRecordsDecoder: expect.any(Function),
getRecordsEncoder: expect.any(Function),
RecordsDecoder: expect.any(Function)
getRecordsEncoder: expect.any(Function)
});
const { RecordsDecoder } = records;
expect(RecordsDecoder).toThrow('Class constructor');
Expand Down
11 changes: 1 addition & 10 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -65,16 +65,7 @@
"template": "./templates/CHANGELOG.hbs"
},
"eslintConfig": {
"extends": "lifion",
"plugins": [
"sort-destructure-keys"
],
"rules": {
"jsdoc/require-returns-description": "off",
"no-await-in-loop": "off",
"sort-destructure-keys/sort-destructure-keys": "error",
"sort-keys": "error"
}
"extends": "lifion"
},
"husky": {
"hooks": {
Expand Down

0 comments on commit 6ccc463

Please sign in to comment.