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

feat: update ESLint & TypeScript plugin #105

Merged
merged 1 commit into from
Aug 5, 2019
Merged

Conversation

mightyiam
Copy link
Owner

BREAKING CHANGE: eslint-config-standard has been updated to 13.0.1.
BREAKING CHANGE: Updatd all peer dependencies. Fixes #80. Fixes #94.

Added option for rule @typescript-eslint/explicit-function-return-type: allowHigherOrderFunctions: true.

BREAKING CHANGE: typescript-eslint/parser is no longer a peerDependency, but a dependency. Users should remove it from their configuration, as well. Closes #65.

Updated @typescript-eslint/eslint-plugin to 1.10.2.

BREAKING CHANGE: `eslint-config-standard` has been updated to `13.0.1`.
BREAKING CHANGE: Updatd all peer dependencies. Fixes #80. Fixes #94.

Added option for rule `@typescript-eslint/explicit-function-return-type`: `allowHigherOrderFunctions: true`.

BREAKING CHANGE: `typescript-eslint/parser` is no longer a `peerDependency`, but a `dependency`. Users should remove it from their configuration, as well. Closes #65.

Updated `@typescript-eslint/eslint-plugin` to `1.10.2`.
@mightyiam
Copy link
Owner Author

@feross, this is identical to #96, with the difference that it is rebased on master, getting rid of the reason for a failing CI run: an un-conventional commit message.

I would have rebased #96, but org contributing guidelines ask to not edit history.

'camelcase': 'off', // in favor of TypeScript rule
'indent': 'off',
camelcase: 'off', // in favor of TypeScript rule
indent: 'off',
Copy link
Contributor

Choose a reason for hiding this comment

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

I think that the new rule in Standard 14 is that all lines should have ' if at least one row needs it 😄 🤔

Copy link
Contributor

Choose a reason for hiding this comment

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

@LinusU Actually, we went with the rule that we only need ' on lines where it's needed. In other words, this is okay:

const obj = {
  'hi-there': 1,
  hey: 2
}

Copy link
Contributor

@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.

🚀

@mightyiam mightyiam merged commit c02191d into master Aug 5, 2019
@mightyiam mightyiam deleted the standard-13-rebased branch August 5, 2019 08:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants