Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: xojs/xo
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: bf6260cfc37638d90737d36c3e0662b7068caa2e
Choose a base ref
...
head repository: xojs/xo
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 47af93ec380b9b8fcd32d2d8190bd9664cb61556
Choose a head ref

Commits on Mar 19, 2017

  1. xo ~> 0.18.0

    pi0 authored and marionebl committed Mar 19, 2017
    Copy the full SHA
    27c65a2 View commit details

Commits on Mar 20, 2017

  1. Minor code style tweaks (#196)

    schnittstabil authored and sindresorhus committed Mar 20, 2017
    Copy the full SHA
    d5d18f4 View commit details
  2. Minor tweak

    sindresorhus committed Mar 20, 2017
    Copy the full SHA
    5209ec8 View commit details

Commits on Mar 25, 2017

  1. Remove no-promise-in-callback and promise/no-callback-in-promise

    …rules
    
    They were more annoying than useful. At least today when you have to deal with a lot of non-Promise APIs. Some APIs will also never be Promise, like events and streams.
    sindresorhus committed Mar 25, 2017
    Copy the full SHA
    2253852 View commit details
  2. 0.18.1

    sindresorhus committed Mar 25, 2017
    Copy the full SHA
    d82bdea View commit details

Commits on Apr 3, 2017

  1. Copy the full SHA
    9e68450 View commit details

Commits on Apr 18, 2017

  1. Copy the full SHA
    3021494 View commit details

Commits on Apr 30, 2017

  1. Parse nested gitignores correctly (#203)

    * fix: parse nested gitignores correctly
    
    backport from #200
    
    * test: sanitize entry file resolving
    
    * style: simplify globby opts
    
    * test: sync gitignore resolving test body to description
    marionebl authored Apr 30, 2017
    Copy the full SHA
    d7ce41e View commit details

Commits on May 2, 2017

  1. Add test for xo --init (#211)

    OmgImAlexis authored and sindresorhus committed May 2, 2017
    Copy the full SHA
    8e2ed21 View commit details
  2. Copy the full SHA
    74c2fdc View commit details
  3. Add VS Code support for --open (#206)

    Oden authored and sindresorhus committed May 2, 2017
    Copy the full SHA
    d9b40d0 View commit details

Commits on May 3, 2017

  1. Copy the full SHA
    dd66c85 View commit details
  2. Copy the full SHA
    e30c3b3 View commit details
  3. Minor tweaks

    sindresorhus committed May 3, 2017
    Copy the full SHA
    a63cad0 View commit details

Commits on May 4, 2017

  1. 0.18.2

    sindresorhus committed May 4, 2017
    Copy the full SHA
    8586153 View commit details
  2. Use open-editor package

    sindresorhus committed May 4, 2017
    Copy the full SHA
    a84802e View commit details

Commits on May 8, 2017

  1. Copy the full SHA
    0c6dbf5 View commit details
  2. Minor tweaks

    sindresorhus committed May 8, 2017
    Copy the full SHA
    9f4003f View commit details
  3. Copy the full SHA
    f689120 View commit details

Commits on May 23, 2017

  1. Copy the full SHA
    9fc3b06 View commit details

Commits on Jun 23, 2017

  1. Define missing boolean CLI arguments

    Discovered in #234
    sindresorhus committed Jun 23, 2017
    Copy the full SHA
    aa5d97f View commit details

Commits on Jun 26, 2017

  1. Copy the full SHA
    6f6a606 View commit details
  2. Copy the full SHA
    a1bf91e View commit details

Commits on Jul 2, 2017

  1. Meta tweaks

    sindresorhus committed Jul 2, 2017
    Copy the full SHA
    a7dfa88 View commit details
  2. Bump dependencies

    sindresorhus committed Jul 2, 2017
    Copy the full SHA
    7b3da13 View commit details

Commits on Jul 27, 2017

  1. Copy the full SHA
    2e4071c View commit details

Commits on Aug 15, 2017

  1. Update outdated note about config overrides (#246)

    This was added in ESLint in eslint/eslint@a21dd32 and should work from from version `4.1.0` and onwards.
    not-an-aardvark authored and kevva committed Aug 15, 2017
    Copy the full SHA
    ab94177 View commit details

Commits on Sep 8, 2017

  1. Copy the full SHA
    ed0ee48 View commit details

Commits on Sep 22, 2017

  1. Use lodash.mergewith instead of deep-assign (#251)

    Fixes #241.
    kevva authored and sindresorhus committed Sep 22, 2017
    Copy the full SHA
    4f4de13 View commit details

Commits on Oct 19, 2017

  1. Upgrade to ESLint 4

    sindresorhus committed Oct 19, 2017
    Copy the full SHA
    a11e288 View commit details
  2. Bump dependencies

    sindresorhus committed Oct 19, 2017
    Copy the full SHA
    69294c0 View commit details
  3. Don't dogfood XO here

    Causes too many weird problems.
    sindresorhus committed Oct 19, 2017
    Copy the full SHA
    1daeac5 View commit details
  4. Bump eslint-config-xo

    sindresorhus committed Oct 19, 2017
    Copy the full SHA
    0e7143a View commit details

Commits on Nov 1, 2017

  1. Copy the full SHA
    1f3dee0 View commit details
  2. Copy the full SHA
    8ac0f3e View commit details

Commits on Nov 15, 2017

  1. Copy the full SHA
    4273f8a View commit details

Commits on Nov 24, 2017

  1. Copy the full SHA
    70d6ab4 View commit details

Commits on Nov 28, 2017

  1. Link to WebStorm recipe

    Fixes #67
    sindresorhus committed Nov 28, 2017
    Copy the full SHA
    1a8ac73 View commit details
  2. Bump meow

    sindresorhus committed Nov 28, 2017
    Copy the full SHA
    bc66114 View commit details
  3. Add eslint-plugin-node (#268)

    pvdlg authored and sindresorhus committed Nov 28, 2017
    Copy the full SHA
    16fb8e2 View commit details
  4. Copy the full SHA
    7c77af3 View commit details

Commits on Dec 31, 2017

  1. Add optional Prettier support (#271)

    pvdlg authored and sindresorhus committed Dec 31, 2017
    Copy the full SHA
    fd89175 View commit details

Commits on Jan 14, 2018

  1. Use globby gitignore handling (#283)

    pvdlg authored and sindresorhus committed Jan 14, 2018
    Copy the full SHA
    fdf051d View commit details

Commits on Jan 16, 2018

  1. Bump prettier to 1.10.2 (#284)

    azz authored and sindresorhus committed Jan 16, 2018
    Copy the full SHA
    8ef54e0 View commit details

Commits on Jan 20, 2018

  1. Update eslint-plugin-unicorn (#287)

    pvdlg authored and sindresorhus committed Jan 20, 2018
    Copy the full SHA
    b2e5428 View commit details
  2. Copy the full SHA
    0d18368 View commit details
  3. Add JSDoc plugin (#286)

    pvdlg authored and sindresorhus committed Jan 20, 2018
    Copy the full SHA
    c1f1be6 View commit details
  4. Bump dependencies

    sindresorhus committed Jan 20, 2018
    Copy the full SHA
    78f621f View commit details

Commits on Jan 22, 2018

  1. Copy the full SHA
    07df074 View commit details

Commits on Jan 29, 2018

  1. Revert JSDoc plugin (#291)

    This reverts commit c1f1be6.
    pvdlg authored and sindresorhus committed Jan 29, 2018
    Copy the full SHA
    61a85cf View commit details
Showing with 4,050 additions and 1,524 deletions.
  1. +1 −1 .editorconfig
  2. +1 −2 .gitattributes
  3. +26 −0 .github/workflows/main.yml
  4. +2 −0 .gitignore
  5. +1 −0 .npmrc
  6. +0 −7 .travis.yml
  7. +0 −20 appveyor.yml
  8. +161 −123 cli.js
  9. +2 −3 code-of-conduct.md
  10. +1 −0 config/{overrides.js → overrides.cjs}
  11. +371 −0 config/plugins.cjs
  12. +0 −67 config/plugins.js
  13. +1 −1 contributing.md
  14. +153 −93 index.js
  15. +153 −0 lib/constants.js
  16. +45 −0 lib/open-report.js
  17. +616 −0 lib/options-manager.js
  18. +5 −17 license
  19. +300 −289 media/logo.ai
  20. +0 −271 options-manager.js
  21. +129 −107 package.json
  22. +239 −131 readme.md
  23. +0 −3 test/.gitignore
  24. +0 −177 test/api.js
  25. +0 −2 test/bar/.gitignore
  26. +143 −30 test/cli.js
  27. +3 −0 test/fixtures/config-files/xo-config/.xo-config
  28. +5 −0 test/fixtures/config-files/xo-config/file.js
  29. +3 −0 test/fixtures/config-files/xo-config_cjs/.xo-config.cjs
  30. +5 −0 test/fixtures/config-files/xo-config_cjs/file.js
  31. +3 −0 test/fixtures/config-files/xo-config_js/.xo-config.js
  32. +5 −0 test/fixtures/config-files/xo-config_js/file.js
  33. +3 −0 test/fixtures/config-files/xo-config_json/.xo-config.json
  34. +5 −0 test/fixtures/config-files/xo-config_json/file.js
  35. +5 −0 test/fixtures/config-files/xo_config_cjs/file.js
  36. +3 −0 test/fixtures/config-files/xo_config_cjs/xo.config.cjs
  37. +5 −0 test/fixtures/config-files/xo_config_js/file.js
  38. +3 −0 test/fixtures/config-files/xo_config_js/xo.config.js
  39. +3 −0 test/fixtures/custom-extension/one-space.unknown
  40. +1 −0 test/fixtures/cwd/unicorn.js
  41. +5 −0 test/fixtures/default-options/package.json
  42. +15 −0 test/fixtures/engines-overrides/package.json
  43. +7 −0 test/fixtures/engines-overrides/promise-then-transpile.js
  44. +7 −0 test/fixtures/engines-overrides/promise-then.js
  45. +7 −0 test/fixtures/engines/package.json
  46. 0 test/{bar/foobar/.gitignore → fixtures/eslintignore/.eslintignore}
  47. +1 −0 test/fixtures/eslintignore/bar.js
  48. +1 −0 test/fixtures/eslintignore/foo.js
  49. +1 −0 test/fixtures/gitignore-multiple-negation/!!!unicorn.js
  50. +1 −0 test/fixtures/gitignore-multiple-negation/!!unicorn.js
  51. +1 −0 test/fixtures/gitignore-multiple-negation/!unicorn.js
  52. +3 −0 test/fixtures/gitignore-multiple-negation/.gitignore
  53. +1 −0 test/fixtures/gitignore-multiple-negation/unicorn.js
  54. +1 −0 test/fixtures/gitignore/test/.gitignore
  55. +2 −2 test/fixtures/gitignore/test/bar.js
  56. +1 −1 test/fixtures/gitignore/test/foo.js
  57. 0 test/fixtures/ignores/{test/fixtures → dist}/linter-error.js
  58. +11 −7 test/fixtures/ignores/package.json
  59. +0 −5 test/fixtures/ignores/test/foo.js
  60. +2 −0 test/fixtures/negative-gitignore/.gitignore
  61. +1 −0 test/fixtures/negative-gitignore/bar.js
  62. +1 −0 test/fixtures/negative-gitignore/foo.js
  63. +3 −0 test/fixtures/nested-configs/child-override/.prettierrc
  64. +10 −0 test/fixtures/nested-configs/child-override/child-prettier-override/package.json
  65. +1 −0 test/fixtures/nested-configs/child-override/child-prettier-override/semicolon.js
  66. +10 −0 test/fixtures/nested-configs/child-override/package.json
  67. +3 −0 test/fixtures/nested-configs/child-override/two-spaces.js
  68. +5 −0 test/fixtures/nested-configs/child/package.json
  69. +1 −0 test/fixtures/nested-configs/child/semicolon.js
  70. +1 −0 test/fixtures/nested-configs/no-semicolon.js
  71. +5 −0 test/fixtures/nested-configs/package.json
  72. +1 −1 test/fixtures/nested/child-empty/package.json
  73. +1 −3 test/fixtures/nested/child-ignore/package.json
  74. +3 −3 test/fixtures/nested/child/package.json
  75. +2 −2 test/fixtures/nested/file.js
  76. +3 −3 test/fixtures/nested/package.json
  77. +1 −0 test/fixtures/open-report/errors/one.js
  78. +1 −0 test/fixtures/open-report/errors/three.js
  79. +2 −0 test/fixtures/open-report/errors/two-with-warnings.js
  80. +1 −0 test/fixtures/open-report/successes/success.js
  81. +1 −0 test/fixtures/open-report/warnings/one.js
  82. +3 −0 test/fixtures/open-report/warnings/three.js
  83. +20 −19 test/fixtures/overrides/package.json
  84. +2 −2 test/fixtures/overrides/test/bar.js
  85. +2 −2 test/fixtures/overrides/test/foo.js
  86. +3 −0 test/fixtures/package.json
  87. +11 −0 test/fixtures/prettier/package.json
  88. +2 −2 test/fixtures/project/file.js
  89. +2 −2 test/fixtures/project/node_modules/eslint-config-custom/package.json
  90. +3 −3 test/fixtures/project/package.json
  91. +3 −0 test/fixtures/space/one-space.js
  92. +3 −0 test/fixtures/space/two-spaces.js
  93. +1 −0 test/fixtures/typescript/child/extra-semicolon.ts
  94. +1 −0 test/fixtures/typescript/child/no-semicolon.ts
  95. +5 −0 test/fixtures/typescript/child/package.json
  96. +3 −0 test/fixtures/typescript/child/sub-child/four-spaces.ts
  97. +5 −0 test/fixtures/typescript/child/sub-child/package.json
  98. +6 −0 test/fixtures/typescript/child/tsconfig.json
  99. +5 −0 test/fixtures/typescript/package.json
  100. +3 −0 test/fixtures/typescript/two-spaces.tsx
  101. +2 −0 test/fixtures/webpack/no-config/file1.js
  102. +2 −0 test/fixtures/webpack/no-config/file2.js
  103. +1 −0 test/fixtures/webpack/no-config/file3.js
  104. +2 −0 test/fixtures/webpack/with-config/file1.js
  105. +2 −0 test/fixtures/webpack/with-config/file2.js
  106. +9 −0 test/fixtures/webpack/with-config/webpack.config.js
  107. +291 −0 test/lint-files.js
  108. +333 −0 test/lint-text.js
  109. +96 −0 test/open-report.js
  110. +675 −123 test/options-manager.js
  111. +28 −0 test/print-config.js
2 changes: 1 addition & 1 deletion .editorconfig
Original file line number Diff line number Diff line change
@@ -7,6 +7,6 @@ charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true

[{package.json,*.yml}]
[*.yml]
indent_style = space
indent_size = 2
3 changes: 1 addition & 2 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -1,3 +1,2 @@
* text=auto
*.js text eol=lf
* text=auto eol=lf
*.ai binary
26 changes: 26 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: CI
on:
- push
- pull_request
jobs:
test:
name: Node.js ${{ matrix.node-version }}
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
node-version:
- 16
- 14
- 12
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node-version }}
- run: npm install
- run: npm test
- uses: codecov/codecov-action@v1
if: matrix.node-version == 14
with:
fail_ci_if_error: true
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
node_modules
yarn.lock
!test/fixtures/project/node_modules
test/fixtures/project/node_modules/.cache
.nyc_output
coverage
1 change: 1 addition & 0 deletions .npmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
package-lock=false
7 changes: 0 additions & 7 deletions .travis.yml

This file was deleted.

20 changes: 0 additions & 20 deletions appveyor.yml

This file was deleted.

Loading