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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update ESLint dependency #3647

Merged
merged 21 commits into from
Sep 17, 2019
Merged

Update ESLint dependency #3647

merged 21 commits into from
Sep 17, 2019

Conversation

abdonrd
Copy link
Contributor

@abdonrd abdonrd commented Jul 19, 2019

Description of what you did:

Update ESLint dependency.

My PR is a:

  • 馃挜 Breaking change
  • 馃悰 Bug fix
  • 馃拝 Enhancement
  • 馃殌 New feature

Main update on the:

  • Admin
  • Documentation
  • Framework
  • Plugin

Manual testing done on the following databases:

  • Not applicable
  • MongoDB
  • MySQL
  • Postgres
  • SQLite

@@ -41,6 +41,7 @@ module.exports = {
rules: {
'generator-star-spacing': 0,
'no-console': 0,
'require-atomic-updates': 0,
Copy link
Contributor Author

@abdonrd abdonrd Jul 19, 2019

Choose a reason for hiding this comment

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

If anyone wants to remove this rule, go ahead!

@abdonrd abdonrd marked this pull request as ready for review July 22, 2019 09:04
@soupette
Copy link
Contributor

@abdonrd your PR doesn't passes the tests... Can you fix them?

@abdonrd
Copy link
Contributor Author

abdonrd commented Aug 22, 2019

@soupette ops! There is an issue with ESLint v6.2.0 with babel-eslint: babel/babel-eslint#791

Pinned the ESLint v6.1.0 version should work now!

I can send a new PR with this update when they release a new version with the fix.

@abdonrd
Copy link
Contributor Author

abdonrd commented Aug 22, 2019

@soupette green no! 馃槃

@soupette
Copy link
Contributor

It looks good for me but will need @alexandrebodin insight also since there are a lot of backend files that have been modified

Copy link
Member

@alexandrebodin alexandrebodin left a comment

Choose a reason for hiding this comment

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

Can you please replace all the Object.hasOwnProperty calls with lodash's has function ?

@abdonrd
Copy link
Contributor Author

abdonrd commented Aug 23, 2019

@alexandrebodin done!

@alexandrebodin
Copy link
Member

@abdonrd Thank you ! we will wait for the merging of th develop branch and update this branch to merge it !

@alexandrebodin
Copy link
Member

@abdonrd If you feel like updating this one ;)

# Conflicts:
#	.eslintrc.js
#	package.json
#	packages/strapi-admin/admin/src/containers/HomePage/CommunityContent.js
#	packages/strapi-admin/admin/src/containers/HomePage/WelcomeContent.js
#	packages/strapi-helper-plugin/lib/src/components/InputTextWithErrors/index.js
#	packages/strapi-hook-bookshelf/lib/index.js
#	packages/strapi-hook-bookshelf/lib/utils/graphql.js
#	packages/strapi-hook-bookshelf/lib/utils/index.js
#	packages/strapi-plugin-content-manager/admin/src/components/FilterOptions/InputWithAutoFocus.js
#	packages/strapi-plugin-content-manager/admin/src/components/SelectMany/index.js
#	packages/strapi-plugin-content-manager/admin/src/components/SelectOne/index.js
#	packages/strapi-plugin-content-manager/admin/src/components/TableHeader/index.js
#	packages/strapi-plugin-content-manager/admin/src/containers/ListPage/index.js
#	packages/strapi-plugin-content-manager/admin/src/containers/SettingPage/index.js
#	packages/strapi-plugin-content-manager/config/policies/routing.js
#	packages/strapi-plugin-content-manager/services/ContentManager.js
#	packages/strapi-plugin-content-type-builder/admin/src/components/TableListRow/index.js
#	packages/strapi-plugin-content-type-builder/admin/src/containers/AttributesPickerModal/index.js
#	packages/strapi-utils/lib/models.js
#	yarn.lock
@abdonrd
Copy link
Contributor Author

abdonrd commented Sep 9, 2019

@alexandrebodin updated!

@alexandrebodin
Copy link
Member

@abdonrd a short yarn install should fix the last conflicts :)

@abdonrd
Copy link
Contributor Author

abdonrd commented Sep 9, 2019

@alexandrebodin done!

@alexandrebodin
Copy link
Member

@abdonrd Going to wait for @soupette approval then merge ;)

Copy link
Contributor

@soupette soupette left a comment

Choose a reason for hiding this comment

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

LGTM

@alexandrebodin alexandrebodin merged commit 1583667 into strapi:master Sep 17, 2019
@abdonrd abdonrd deleted the eslint-update branch September 17, 2019 08:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
source: core:strapi Source is core/strapi package
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants