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

Housekeeping - get build/tests running #78

Merged
merged 6 commits into from
Feb 14, 2019

Commits on Feb 14, 2019

  1. remove babel polyfill:false (deprecated, throws error)

    Error from babel: The 'polyfill' option has been removed. The
    @babel/runtime module now skips polyfilling by default.
    davidgovea committed Feb 14, 2019
    Configuration menu
    Copy the full SHA
    b60bed7 View commit details
    Browse the repository at this point in the history
  2. move browserslist config into .babelrc

    it appears that @babel/preset-env ignores .browserslistrc when `targets`
    are provided (node 6.4.0 in this case)
    davidgovea committed Feb 14, 2019
    Configuration menu
    Copy the full SHA
    ec34ede View commit details
    Browse the repository at this point in the history
  3. refactor throw assertion tests: ava requires a function

    Regex used:
    (t)hrows\(([^(].*)\);
    $1hrows(() => $2);
    davidgovea committed Feb 14, 2019
    Configuration menu
    Copy the full SHA
    5613fdb View commit details
    Browse the repository at this point in the history
  4. refactor some throws calls to throwsAsync

    error from ava:
    Function returned a promise. Use `t.throwsAsync()` instead:
    davidgovea committed Feb 14, 2019
    Configuration menu
    Copy the full SHA
    fc83fe7 View commit details
    Browse the repository at this point in the history
  5. disable ava/use-t-well rule

    Since xo version is locked down, the ava rules are out-of-date. This was
    the least-changes way to get build working.
    davidgovea committed Feb 14, 2019
    Configuration menu
    Copy the full SHA
    9104764 View commit details
    Browse the repository at this point in the history
  6. 1 Configuration menu
    Copy the full SHA
    52310f9 View commit details
    Browse the repository at this point in the history