Skip to content
This repository has been archived by the owner on Aug 11, 2020. It is now read-only.

Commit

Permalink
feat: update rule
Browse files Browse the repository at this point in the history
  • Loading branch information
rafalmaciejewski committed May 28, 2019
1 parent ec528a7 commit 89677eb
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 1 deletion.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
1.2.0 / 2019-05-28
==================
- Updated `member-ordering` rule


1.1.1 / 2019-05-28
==================
- Fixed `member-access` rule
Expand Down
11 changes: 11 additions & 0 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,17 @@ module.exports = {
'no-inferrable-types': [true, 'ignore-params', 'ignore-properties'],
'prefer-object-spread': true,
'arrow-return-shorthand': true,
'member-ordering': [
true,
{
'order': [
'static-field',
'static-method',
'instance-field',
'constructor',
],
},
],
},
jsRules: {
'max-line-length': [true, MAX_LINE_LENGTH],
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "tslint-config-getresponse-base",
"version": "1.1.1",
"version": "1.2.0",
"description": "GetResponse TSLint shareable config",
"keywords": [
"config",
Expand Down

0 comments on commit 89677eb

Please sign in to comment.