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: steelbrain/linter-ui-default
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v2.1.5
Choose a base ref
...
head repository: steelbrain/linter-ui-default
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: master
Choose a head ref
Loading
Showing with 15,360 additions and 5,287 deletions.
  1. +0 −1 .eslintignore
  2. +5 −20 .eslintrc.json
  3. +0 −13 .flowconfig
  4. +6 −0 .gitattributes
  5. +66 −38 .github/workflows/CI.yml
  6. +14 −0 .gitignore
  7. +4 −0 .npmrc
  8. +9 −0 .prettierignore
  9. +0 −6 .prettierrc
  10. +1 −0 .terserrc.js
  11. +264 −84 CHANGELOG.md
  12. +52 −52 CONTRIBUTING.md
  13. +18 −5 README.md
  14. +3 −0 babel.config.json
  15. +14 −0 babel.unit.config.json
  16. +142 −0 benchmark/benchmark.js
  17. +0 −25 decls/atom.js
  18. +0 −11 decls/jasmine.js
  19. +23 −0 dist/busy-signal.d.ts
  20. +11 −0 dist/commands.d.ts
  21. +14 −0 dist/editor/helpers.d.ts
  22. +44 −0 dist/editor/index.d.ts
  23. +21 −0 dist/editors.d.ts
  24. +45 −0 dist/helpers.d.ts
  25. +10 −0 dist/index.d.ts
  26. +2 −0 dist/index.js
  27. +1 −0 dist/index.js.map
  28. +11 −0 dist/intentions.d.ts
  29. +27 −0 dist/main.d.ts
  30. +2 −0 dist/marked.esm.ab6d9469.js
  31. +1 −0 dist/marked.esm.ab6d9469.js.map
  32. +6 −0 dist/panel/component.d.ts
  33. +16 −0 dist/panel/delegate.d.ts
  34. +25 −0 dist/panel/dock.d.ts
  35. +22 −0 dist/panel/index.d.ts
  36. +17 −0 dist/status-bar/element.d.ts
  37. +1 −0 dist/status-bar/helpers.d.ts
  38. +15 −0 dist/status-bar/index.d.ts
  39. +13 −0 dist/tooltip/delegate.d.ts
  40. +16 −0 dist/tooltip/index.d.ts
  41. +9 −0 dist/tooltip/message.d.ts
  42. +3 −0 dist/tree-view/helpers.d.ts
  43. +19 −0 dist/tree-view/index.d.ts
  44. +3,446 −0 dist/tsconfig.tsbuildinfo
  45. +22 −0 dist/types/atom.d.ts
  46. +3 −0 dist/types/index.d.ts
  47. +20 −0 dist/types/intentions.d.ts
  48. +1 −0 dist/types/linter.d.ts
  49. +23 −25 lib/{busy-signal.js → busy-signal.ts}
  50. +35 −51 lib/{commands.js → commands.ts}
  51. +0 −69 lib/editor/helpers.js
  52. +77 −0 lib/editor/helpers.ts
  53. +119 −151 lib/editor/{index.js → index.ts}
  54. +0 −104 lib/editors.js
  55. +139 −0 lib/editors.ts
  56. +6 −0 lib/electron.d.ts
  57. +0 −250 lib/helpers.js
  58. +279 −0 lib/helpers.ts
  59. +0 −66 lib/index.js
  60. +77 −0 lib/index.ts
  61. +0 −53 lib/intentions.js
  62. +48 −0 lib/intentions.ts
  63. +26 −44 lib/{main.js → main.ts}
  64. +0 −107 lib/panel/component.js
  65. +84 −0 lib/panel/component.tsx
  66. +31 −38 lib/panel/{delegate.js → delegate.ts}
  67. +0 −126 lib/panel/dock.js
  68. +126 −0 lib/panel/dock.tsx
  69. +49 −62 lib/panel/{index.js → index.ts}
  70. +15 −24 lib/status-bar/{element.js → element.ts}
  71. +0 −3 lib/status-bar/{helpers.js → helpers.ts}
  72. +37 −46 lib/status-bar/{index.js → index.ts}
  73. +0 −67 lib/tooltip/delegate.js
  74. +67 −0 lib/tooltip/delegate.ts
  75. +0 −9 lib/tooltip/fix-button.js
  76. +0 −62 lib/tooltip/index.js
  77. +101 −0 lib/tooltip/index.tsx
  78. +0 −168 lib/tooltip/message.js
  79. +167 −0 lib/tooltip/message.tsx
  80. +15 −15 lib/tree-view/{helpers.js → helpers.ts}
  81. +0 −143 lib/tree-view/index.js
  82. +141 −0 lib/tree-view/index.ts
  83. +38 −0 lib/tsconfig.json
  84. +0 −69 lib/types.js
  85. +22 −0 lib/types/atom.d.ts
  86. +3 −0 lib/types/index.d.ts
  87. +20 −0 lib/types/intentions.d.ts
  88. +1 −0 lib/types/linter.d.ts
  89. +0 −3,159 package-lock.json
  90. +95 −18 package.json
  91. +8,791 −0 pnpm-lock.yaml
  92. +8 −0 prettier.config.js
  93. +31 −0 scripts/get-linter-types.js
  94. +0 −5 spec/.eslintrc.json
  95. +32 −0 spec/activate.spec.js
  96. +9 −8 spec/busy-singal-spec.js
  97. +21 −17 spec/editor-spec.js
  98. +8 −0 spec/fixtures/.eslintrc.json
  99. +3 −0 spec/fixtures/error.ts
  100. +4 −0 spec/fixtures/expandable-description.rb
  101. +2 −0 spec/fixtures/info.ts
  102. +14 −0 spec/fixtures/long-text.ts
  103. +3 −0 spec/fixtures/tsconfig.json
  104. +3 −0 spec/fixtures/warning.ts
  105. +2 −0 spec/fixtures/with-fixes.ts
  106. +4 −2 spec/helpers.js
  107. BIN spec/very-large-file.zip
  108. +31 −16 styles/bottom-panel.less
  109. +89 −55 styles/linter-ui.less
1 change: 0 additions & 1 deletion .eslintignore

This file was deleted.

25 changes: 5 additions & 20 deletions .eslintrc.json
Original file line number Diff line number Diff line change
@@ -1,24 +1,9 @@
{
"extends": "steelbrain",
"globals": {
"atom": true
},
"extends": "eslint-config-atomic/react",
"ignorePatterns": ["dist/", "node_modules/", "spec/fixtures", "lib/types/linter/"],
"rules": {
"no-param-reassign": "off",
"no-duplicate-imports": "off",
"no-underscore-dangle": "off",
"react/no-danger": "off",
"react/no-danger-with-children": "off",
"global-require": "off",
"import/extensions": "off",
"import/no-extraneous-dependencies": "off",
"import/no-unresolved": [
"error",
{
"ignore": ["atom", "electron"]
}
],
"prefer-destructuring": "off",
"jsx-a11y/anchor-is-valid": "off"
"@typescript-eslint/no-inferrable-types": "off",
"@typescript-eslint/no-non-null-assertion": "off",
"react/react-in-jsx-scope": "off"
}
}
13 changes: 0 additions & 13 deletions .flowconfig

This file was deleted.

6 changes: 6 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
* text=auto

# don't diff machine generated files
dist/ -diff
package-lock.json -diff
pnpm-lock.yaml -diff
104 changes: 66 additions & 38 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
name: CI
on:
- pull_request
- push
pull_request:
push:
branches:
- master

jobs:
Test:
@@ -18,16 +20,36 @@ jobs:
atom_channel: [stable, beta]
steps:
- uses: actions/checkout@v2
- name: Cache
id: node_modules
uses: actions/cache@v2
with:
path: |
node_modules
key: ${{ runner.os }}-node-${{ hashFiles('**/package.json') }}

- uses: UziTech/action-setup-atom@v1
with:
channel: ${{ matrix.atom_channel }}
- name: Versions
run: apm -v
- name: Install APM dependencies
run: |
apm install

- uses: pnpm/action-setup@v2.2.2
with:
version: 6

- uses: actions/setup-node@v3
with:
node-version: 12.x

- name: Install dependencies
run: pnpm i

- name: Run tests 👩🏾‍💻
run: npm run test
run: pnpm run test

- name: Run benchmarks
run: pnpm run benchmark

Lint:
if: "!contains(github.event.head_commit.message, '[skip ci]')"
@@ -38,41 +60,47 @@ jobs:
- uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Commit lint ✨
uses: wagoid/commitlint-github-action@v1
- uses: actions/setup-node@v1
- if: "!contains(github.event.head_commit.message, 'Prepare')"
name: Commit lint ✨
uses: wagoid/commitlint-github-action@v2

- uses: pnpm/action-setup@v2
with:
node-version: "12.x"
- name: Install NPM dependencies
run: |
npm install
version: 6

- name: Install dependencies
run: pnpm install

- name: Format ✨
run: pnpm run test.format

- name: Lint ✨
run: npm run lint
run: pnpm run test.lint

Release:
needs: [Test, Lint]
if: github.ref == 'refs/heads/master' &&
github.event.repository.fork == false
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: UziTech/action-setup-atom@v1
- uses: actions/setup-node@v1
with:
node-version: "12.x"
- name: NPM install
run: npm install
# - name: Build and Commit.
# run: npm run build-commit
# NOTE: uncomment when ready
# - name: Release 🎉
# uses: cycjimmy/semantic-release-action@v2
# with:
# extends: |
# @semantic-release/apm-config
# env:
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# ATOM_ACCESS_TOKEN: ${{ secrets.ATOM_ACCESS_TOKEN }}
# Release:
# needs: [Test, Lint]
# if: github.ref == 'refs/heads/master' &&
# github.event.repository.fork == false
# runs-on: ubuntu-latest
# steps:
# - uses: actions/checkout@v2
# - uses: UziTech/action-setup-atom@v1
# - uses: actions/setup-node@v1
# with:
# node-version: '12.x'
# - name: NPM install
# run: npm install
# - name: Build and Commit.
# run: npm run build-commit
# NOTE: uncomment when ready
# - name: Release 🎉
# uses: cycjimmy/semantic-release-action@v2
# with:
# extends: |
# @semantic-release/apm-config
# env:
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# ATOM_ACCESS_TOKEN: ${{ secrets.ATOM_ACCESS_TOKEN }}

Skip:
if: contains(github.event.head_commit.message, '[skip ci]')
14 changes: 14 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,18 @@
# OS metadata
.DS_Store
npm-debug.log
Thumbs.db

# Node
node_modules
.idea
package-lock.json

# TypeScript
*.tsbuildinfo

# Build directories
dist
.parcel-cache
benchmarkTestFile.*
lib/types/linter
4 changes: 4 additions & 0 deletions .npmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
public-hoist-pattern[]=*
package-lock=false
lockfile=true
prefer-frozen-lockfile=true
9 changes: 9 additions & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
node_modules
package.json
package-lock.json
pnpm-lock.yaml
coverage
build
dist
spec/fixtures
lib/types/linter
6 changes: 0 additions & 6 deletions .prettierrc

This file was deleted.

1 change: 1 addition & 0 deletions .terserrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
module.exports = require('terser-config-atomic')
Loading