Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rule changes for standard v10 #74

Merged
merged 12 commits into from Mar 2, 2017
Merged

Rule changes for standard v10 #74

merged 12 commits into from Mar 2, 2017

Conversation

feross
Copy link
Member

@feross feross commented Mar 2, 2017

No description provided.

feross added 12 commits March 1, 2017 15:22
Fixes: standard/standard#800

The ignoreRestSiblings option is a boolean (default: false). Using a
Rest Property it is possible to “omit” properties from an object, but
by default the sibling properties are marked as “unused”. With this
option enabled the rest property’s siblings are ignored.

```js
// 'type' is ignored because it has a rest property sibling
var { type, ...coords } = data
```
Fixes: standard/standard#599
Fixes: standard/standard#712

`import/no-duplicates` replaces the core rule `no-duplicate-imports`.
Fixes: standard/standard#623

There must be `undefined`, `null` or an error object in the first
position of a callback.
Copy link
Member

@LinusU LinusU left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🙌

@feross feross merged commit 09248c2 into master Mar 2, 2017
@feross feross deleted the v10 branch March 2, 2017 18:50
@feross
Copy link
Member Author

feross commented Mar 2, 2017

Thanks @LinusU 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

None yet

2 participants