Skip to content
This repository has been archived by the owner on Feb 18, 2024. It is now read-only.

Update eslint-config-airbnb and eslint-config-airbnb-base #1447

Merged
merged 1 commit into from
Sep 1, 2019
Merged

Update eslint-config-airbnb and eslint-config-airbnb-base #1447

merged 1 commit into from
Sep 1, 2019

Conversation

edmorley
Copy link
Member

  • Combines Update dependency eslint-config-airbnb-base to v14 #1443 and Update dependency eslint-config-airbnb to v18 #1444 (since they are dependant on each other)
  • Adds the new AirBnB hooks preset to @neutrinojs/airbnb
  • Removes the React version option from @neutrinojs/airbnb since it's now configured within eslint-config-airbnb
  • Switches other React version usages to the new 'detect' mode
  • Overrides AirBnB's configuration for react/state-in-constructor since @neutrinojs/react supports class properties, so using the always mode is unnecessary.

Closes #1443 and closes #1444.

@edmorley edmorley self-assigned this Aug 17, 2019
* Combines #1443 and #1444 (since they are dependant on each other)
* Adds the new AirBnB hooks preset to `@neutrinojs/airbnb`
* Removes the React `version` option from `@neutrinojs/airbnb` since
  it's now configured within `eslint-config-airbnb`
* Switches other React `version` usages to the new `'detect'` mode
* Overrides AirBnB's configuration for `react/state-in-constructor`
  since `@neutrinojs/react` supports class properties, so using the
  `always` mode is unnecessary.

Closes #1443 and closes #1444.
@edmorley edmorley added this to the Neutrino 9 milestone Aug 17, 2019
@edmorley edmorley mentioned this pull request Aug 19, 2019
1 task
@edmorley
Copy link
Member Author

@neutrinojs/core-contributors any comments before I merge? :-)

@timkelty
Copy link
Contributor

Looks good from here, @edmorley

@edmorley edmorley requested review from a team and removed request for eliperelman August 27, 2019 11:52
@edmorley edmorley merged commit 1f47728 into neutrinojs:master Sep 1, 2019
@edmorley edmorley deleted the update-airbnb branch September 1, 2019 15:27
edmorley added a commit that referenced this pull request Sep 2, 2019
Due to the landings of #1447 and #1453 racing with each other.
edmorley pushed a commit that referenced this pull request Sep 2, 2019
* Update dependency eslint-loader to v3
* eslint: Remove custom handling of named formatters
  Since eslint-loader now natively supports being passed a `formatter` that
  is the name of an in-built ESLint formatter (rather than only supporting
  a full filepath to that formatter), so @neutrinojs/eslint does not need
  to handle this case itself.
* airbnb: Fix inconsistent eslint-plugin-react-hooks version
  Due to the landings of #1447 and #1453 racing with each other.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Development

Successfully merging this pull request may close these issues.

2 participants