Skip to content

add case-police checks, fix case issues - #3052

Merged
GijsWeterings merged 1 commit into
react:mainfrom
Simek:feat/add-case-police-check
Apr 4, 2022
Merged

GijsWeterings merged 1 commit into
react:mainfrom
Simek:feat/add-case-police-check

Conversation

@Simek

@Simek Simek commented Apr 4, 2022

Copy link
Copy Markdown
Collaborator

This PR adds the case-police check to the workspace.

It has been attached to the lanuage:lint scripts. I have also decided to filter out abbreviates dict (https://github.com/antfu/case-police/tree/main/dict), since it leads to too many false-positives in path, especially for Android (SDK, URI etc.).

The issues can be fixed automatically, just like most of ESLint warnings, by adding --fix flag at the end of script/command.

The changeset also includes all of the fixes listed by case-police after the initial configuration.

@netlify

netlify Bot commented Apr 4, 2022

Copy link
Copy Markdown

✅ Deploy Preview for react-native ready!

Name Link
🔨 Latest commit c47c8c4
🔍 Latest deploy log https://app.netlify.com/sites/react-native/deploys/624aeecf1f4d6600089b19d4
😎 Deploy Preview https://deploy-preview-3052--react-native.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site settings.

@GijsWeterings
GijsWeterings merged commit 8021c6d into react:main Apr 4, 2022
@Simek
Simek deleted the feat/add-case-police-check branch April 4, 2022 15:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants