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

Run ESLint on scripts #984

Merged
merged 1 commit into from
Nov 3, 2021
Merged

Conversation

jonathanKingston
Copy link
Collaborator

@jonathanKingston jonathanKingston commented Oct 17, 2021

Task/Issue URL: https://app.asana.com/0/414235014887631/1201233794429574/f
Tech Design URL:
CC:

Description:

  • Add a package.json
  • Change replacements to be valid JS which makes lint run fine
  • Add automation test

Steps to test this PR:
1.
2.

Copy Testing:

  • Use of correct apostrophes in new copy, ie rather than '

Orientation Testing:

  • Portrait
  • Landscape

Device Testing:

  • iPhone SE (1st Gen)
  • iPhone 8
  • iPhone X
  • iPad

OS Testing:

  • iOS 13
  • iOS 14
  • iOS 15

Theme Testing:

  • Light theme
  • Dark theme

Internal references:

Software Engineering Expectations
Technical Design Template
When ready for review, remember to post the PR in MM

@jonathanKingston jonathanKingston marked this pull request as ready for review October 18, 2021 22:36
@jonathanKingston jonathanKingston changed the title POC: Run ESLint on scripts Run ESLint on scripts Oct 19, 2021
@jonathanKingston jonathanKingston force-pushed the jkt/eslint branch 3 times, most recently from 5712205 to 6825cfd Compare October 19, 2021 22:12
@bwaresiak
Copy link
Collaborator

@jonathanKingston Is there a task related to this? Maybe with some description about expected benefits and usage, so it can be linked to our documentation :)

@jonathanKingston
Copy link
Collaborator Author

The specific task for this is: https://app.asana.com/0/414235014887631/1201233794429574/f and the parent task explains the background: https://app.asana.com/0/414709148257752/1199918087656627/f

The JS project page also has motivations and maintains platform status on this: https://app.asana.com/0/1201203727797217/1201203750243780/f

- Add a package.json
- Change replacements to be valid JS which makes lint run fine
- Add automation test (hopefully)
@bwaresiak bwaresiak merged commit 27c7a17 into duckduckgo:develop Nov 3, 2021
samsymons added a commit that referenced this pull request Nov 27, 2021
* develop:
  Stop web views from loading during Fire button calls (#1010)
  Fix `Unprotected Sites` toolbar was kept hidden. (#990)
  Add a check for the Homebrew location on M1 Macs. (#1000)
  Bump version number
  Fixes and enhanced stats for recently added debug pixel (#1007)
  Fix Core Data deadlocks (#989)
  Update version number
  Improvements to cookie cleaning (#1002)
  Remove unused TrackingProtectionStats dead code (#996)
  Update version
  Update version number
  Update TDS dependency after latest release (#995)
  Support for Tracker Exceptions (#991)
  Use temp unprotected list and user list for all features (#993)
  Run ESLint on scripts (#984)
  Move to using mutation observing to reduce page overhead (#985)
  Disabling SafeBrowsing due to privacy implications (#992)
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