nscaife / linter-chktex Goto Github PK
View Code? Open in Web Editor NEWAn Atom Linter plugin for LaTeX, using chktex
Home Page: https://atom.io/packages/linter-chktex
License: MIT License
An Atom Linter plugin for LaTeX, using chktex
Home Page: https://atom.io/packages/linter-chktex
License: MIT License
Hi! Thanks for maintaining the linter-chktex package!
In Atom v1.12, we are going to upgrade CoffeeScript to the latest version. This upgrade entails one potentially breaking change to the language:
Changed strategy for the generation of internal compiler variable names. Note that this means that @example function parameters are no longer available as naked example variables within the function body.
We think your package may be affected by this upgrade, in the following places:
chktexArgs
variable herechktexArgs
variable hereexecutablePath
variable hereshowId
variable hereThese findings are based on linting packages with coffeescope
. We could be wrong about some of them. When we release v1.12 beta, please test your package against it to make sure that it works. Let me know if you have any further questions; I will be happy to help!
For a workflow where false alarms are disabled using line-based warning suppression of chktex ("e.g., % chktex 05" to supress warning with id 5), it is necessary to know the id of the warning, but the id is hidden in the user interface, in contrast to the command line.
If I launch Atom from a command line—with either sudo atom
or atom
— everything works as expected. But if I launch Atom by clicking on my dock icon for it or from Finder or Spotlight (I'm on Mac OSX Yosemite), I get a Failed to run /usr/texbin/chktex: spawn chktex ENOENT
error with each save of my tex document and the linter doesn't function.
I'm running from an administrator account and my chktex has execute permissions for all users, so this seems odd to me.
When opening a new file with
$ atom new_file.tex
it seems chktex tries to open new_file.tex although it does not exist yet on the disk, and I get the following linter error:
[...]/.atom/packages/linter/lib/linter-registry.js:159 [Linter] Error running chktex Error: chktex: WARNING -- Unable to open the TeX file [...]/new_file.tex'.
at exit ([...]/.atom/packages/linter-chktex/node_modules/atom-linter/lib/helpers.js:58:20)
at triggerExitCallback ([...]/atom/usr/share/atom/resources/app.asar/src/buffered-process.js:322:11)
at [...]/atom/usr/share/atom/resources/app.asar/src/buffered-process.js:343:11
at Socket.<anonymous> ([...]/atom/usr/share/atom/resources/app.asar/src/buffered-process.js:204:9)
at emitOne (events.js:101:20)
at Socket.emit (events.js:188:7)
at Pipe._handle.close [as _onclose] (net.js:493:12)
Tried to use chktex in atom (linter v2.2.0; linter-chktex v1.3.1) on MacOS, and got the below errors:
/Users/yifei-macpro/.atom/packages/linter/lib/linter-registry.js:159 [Linter] Error running chktex Error: chktex: WARNING -- ChkTeX does not handle lines over 1024 bytes correctly. Some errors and line numbers may be wrong in this file.
chktex: WARNING -- ChkTeX could not fully expand tabs because the resulting line would be more than 1024 bytes. Some errors and line numbers may be wrong in this file.
at exit (/Users/yifei-macpro/.atom/packages/linter-chktex/node_modules/atom-linter/lib/helpers.js:58:20)
at triggerExitCallback (/Applications/Atom.app/Contents/Resources/app/src/buffered-process.js:338:17)
at /Applications/Atom.app/Contents/Resources/app/src/buffered-process.js:351:17
at Socket.<anonymous> (/Applications/Atom.app/Contents/Resources/app/src/buffered-process.js:220:15)
at emitOne (events.js:101:20)
at Socket.emit (events.js:188:7)
at Pipe._handle.close [as _onclose] (net.js:493:12)
[Enter steps to reproduce:]
Atom: 1.20.1 x64
Electron: 1.6.11
OS: "Arch Linux"
Thrown From: linter-chktex package 1.3.1
Failed to activate the linter-chktex package
At Cannot read property 'parentNode' of undefined
TypeError: Cannot read property 'parentNode' of undefined
at MenuUpdater.cleanUp (/packages/title-bar-replacer/lib/menu-updater.js:229:6)
at MenuUpdater.traverseTemplate (/packages/title-bar-replacer/lib/menu-updater.js:171:21)
at MenuUpdater.traverseTemplate (/packages/title-bar-replacer/lib/menu-updater.js:176:35)
at MenuUpdater.traverseTemplate (/packages/title-bar-replacer/lib/menu-updater.js:176:35)
at MenuUpdater.traverseTemplate (/packages/title-bar-replacer/lib/menu-updater.js:176:35)
at MenuUpdater.traverseTemplate (/packages/title-bar-replacer/lib/menu-updater.js:176:35)
at MenuUpdater.traverseTemplate (/packages/title-bar-replacer/lib/menu-updater.js:176:35)
at MenuUpdater.traverseTemplate (/packages/title-bar-replacer/lib/menu-updater.js:176:35)
at MenuUpdater.traverseTemplate (/packages/title-bar-replacer/lib/menu-updater.js:176:35)
at MenuUpdater.traverseTemplate (/packages/title-bar-replacer/lib/menu-updater.js:176:35)
at MenuUpdater.traverseTemplate (/packages/title-bar-replacer/lib/menu-updater.js:176:35)
at MenuUpdater.run (/packages/title-bar-replacer/lib/menu-updater.js:42:13)
at TitleBarReplacerView.updateMenu (/packages/title-bar-replacer/lib/title-bar-replacer-view.js:393:20)
at /packages/title-bar-replacer/lib/title-bar-replacer.js:49:48)
at Package.module.exports.Package.activateKeymaps (/usr/lib/atom/src/package.js:374:24)
at Package.module.exports.Package.activateResources (/usr/lib/atom/src/package.js:339:14)
at /usr/lib/atom/src/package.js:219:23
at Package.module.exports.Package.measure (/usr/lib/atom/src/package.js:97:15)
at /usr/lib/atom/src/package.js:216:26
at Package.module.exports.Package.activate (/usr/lib/atom/src/package.js:213:34)
at PackageManager.module.exports.PackageManager.activatePackage (/usr/lib/atom/src/package-manager.js:635:34)
at /usr/lib/atom/node_modules/settings-view/lib/package-manager.js:521:29
at exit (/usr/lib/atom/node_modules/settings-view/lib/package-manager.js:114:16)
at triggerExitCallback (/usr/lib/atom/src/buffered-process.js:322:11)
at /usr/lib/atom/src/buffered-process.js:343:11
at Socket.<anonymous> (/usr/lib/atom/src/buffered-process.js:204:9)
at emitOne (events.js:101:20)
at Socket.emit (events.js:188:7)
at Pipe._handle.close [as _onclose] (net.js:501:12)
-1:08.2.0 settings-view:check-for-package-updates (atom-workspace.workspace.scrollbars-visible-always.theme-one-dark-syntax.theme-one-dark-ui)
-0:54.6.0 core:confirm (input.hidden-input)
ask-stack 2.2.0
atom-beautify 0.30.5
autocomplete-bash-builtins 0.3.5
autocomplete-bibtex 0.7.0
busy-signal 1.4.3
docker 0.8.0
intellij-idea-keymap 0.2.3
intentions 1.1.5
language-docker 1.1.8
language-htaccess 0.1.1
linter 2.2.0
linter-chktex 1.3.1
linter-docker 0.2.1
linter-ui-default 1.6.8
rsync-save 0.9.7
title-bar-replacer 1.4.1
v1.1.3 works fine on my machine but 1.2.0 doesn't work, it doesn't error it just never reports any of the warnings.
When I use linter-chktex check my paper, a new panel will be opened when I click the warning message.
After some check, I found that occurs because the tex file has a file name begin with character 'n'. The linter must parse the '\n' to some control character and delete it, so the warning messages displayed on the Atom UI will have wrong filename.
This error may not happen on the *nix platform, I guess.
AtomLinter v0.X.Y API has been deprecated.
https://github.com/AtomLinter/Linter/wiki/Migrating-to-the-new-API
\somethingORother
followed by a linebreak is actually valid synthax. While it is understandable that the machine can not understand everything there must be an option to tell it to shut up.
I don't know if this is a problem with chktex-linter or the atom linter package in general. But other linter implementations seem to feature a dotfile with ignore lists.
[Enter steps to reproduce:]
Atom: 1.17.2 x64
Electron: 1.3.15
OS: Ubuntu 16.04.2
Thrown From: linter-chktex package 1.3.0
Uncaught TypeError: _this.notificationEl.querySelector is not a function
At /home/eric/.atom/packages/linter-chktex/node_modules/atom-package-deps/lib/view.js:22
TypeError: _this.notificationEl.querySelector is not a function
at /packages/linter-chktex/node_modules/atom-package-deps/lib/view.js:22:58
-3:48.8.0 settings-view:view-installed-packages (ul.list-inline.tab-bar.inset-panel)
7x -3:41.4.0 core:backspace (input.hidden-input)
-1:23.2.0 core:paste (input.hidden-input)
2x -1:21 editor:move-to-first-character-of-line (input.hidden-input)
-1:19.1.0 core:delete (input.hidden-input)
-1:18.7.0 editor:move-to-first-character-of-line (input.hidden-input)
-1:18.4.0 editor:move-to-end-of-screen-line (input.hidden-input)
-1:03.6.0 core:paste (input.hidden-input)
-0:50.1.0 fuzzy-finder:toggle-file-finder (div.package-detail.panels-item)
-0:48.6.0 core:backspace (input.hidden-input)
-0:48 command-palette:toggle (input.hidden-input)
2x -0:41.9.0 core:move-down (input.hidden-input)
-0:41.3.0 core:confirm (input.hidden-input)
-0:41.3.0 sync-settings:restore (input.hidden-input)
-0:29.2.0 tree-view:show (atom-workspace.workspace.scrollbars-visible-always.theme-one-dark-syntax.theme-one-dark-ui)
-0:21.6.0 tabs:close-other-tabs (div.title)
atom-css-comb 3.1.0
atom-wrap-in-tag 0.6.0
autoclose-html 0.23.0
busy-signal 1.3.0
color-picker 2.2.5
emmet 2.4.3
file-icons 2.1.2
intentions 1.1.2
language-latex 1.0.0
latex 0.43.0
latex-autocomplete 1.0.0
linter 2.1.2
linter-chktex 1.3.0
linter-htmlhint 1.3.3
linter-javac 1.9.4
linter-markdownlint 1.0.1
linter-pycodestyle 2.0.2
linter-python 3.1.1
linter-tidy 2.3.1
linter-ui-default 1.2.2
markdown-writer 2.6.4
minimap 4.27.1
monokai 0.22.0
seti-ui 1.7.0
sync-settings 0.8.1
terminal-plus 0.14.5
vim-mode-plus 0.88.0
When editing my ia.tex
document and using linter-chktex, I saw some strange behaviour in the issues panel at the bottom of the window (if that's what you call it). The indicator showed multiple issues, but only displayed them when I clicked on the "Project" button, but the issues pointed to the file I was editing, but displayed NaN for column numbers.
After that, I toggled the linter from the command palette and toggled it back on again. This is when I saw this error.
Some empty tabs also appeared to be opened in the background with a similar name (ia.tex:163:1
as the tab name).
Please advise whether this should be reported to the linter package itself.
In the meantime, I'm suppressing user warnings (-n44
in the package setting's args).
Thanks for maintaining this package nonetheless 😊
chktex
outputWarning 44 in /Users/jonchan/Documents/ia/ia.tex line 136: User Regex: -2:Vertical rules in tables are ugly.
\begin{tabular}{| c | c |}
^^^^^^^^^^^^^^^^^^^^^^^^^^
Warning 44 in /Users/jonchan/Documents/ia/ia.tex line 138: User Regex: -2:Use \toprule, midrule, or \bottomrule from booktabs.
\hline
^^^^^^
Warning 44 in /Users/jonchan/Documents/ia/ia.tex line 140: User Regex: -2:Use \toprule, midrule, or \bottomrule from booktabs.
\hline
^^^^^^
Warning 44 in /Users/jonchan/Documents/ia/ia.tex line 142: User Regex: -2:Use \toprule, midrule, or \bottomrule from booktabs.
\hline
^^^^^^
Warning 44 in /Users/jonchan/Documents/ia/ia.tex line 157: User Regex: -2:Vertical rules in tables are ugly.
\begin{tabular}{| c | c |}
^^^^^^^^^^^^^^^^^^^^^^^^^^
Warning 44 in /Users/jonchan/Documents/ia/ia.tex line 159: User Regex: -2:Use \toprule, midrule, or \bottomrule from booktabs.
\hline
^^^^^^
Warning 44 in /Users/jonchan/Documents/ia/ia.tex line 161: User Regex: -2:Use \toprule, midrule, or \bottomrule from booktabs.
\hline
^^^^^^
Warning 44 in /Users/jonchan/Documents/ia/ia.tex line 163: User Regex: -2:Use \toprule, midrule, or \bottomrule from booktabs.
\hline
^^^^^^
Warning 44 in /Users/jonchan/Documents/ia/ia.tex line 175: User Regex: -2:Vertical rules in tables are ugly.
\begin{tabular}{| c | c |}
^^^^^^^^^^^^^^^^^^^^^^^^^^
Warning 44 in /Users/jonchan/Documents/ia/ia.tex line 177: User Regex: -2:Use \toprule, midrule, or \bottomrule from booktabs.
\hline
^^^^^^
Warning 44 in /Users/jonchan/Documents/ia/ia.tex line 179: User Regex: -2:Use \toprule, midrule, or \bottomrule from booktabs.
\hline
^^^^^^
Warning 44 in /Users/jonchan/Documents/ia/ia.tex line 181: User Regex: -2:Use \toprule, midrule, or \bottomrule from booktabs.
\hline
^^^^^^
Atom Version: 1.1.0
System: Mac OS X 10.11.1
Thrown From: linter package, v1.10.0
Uncaught TypeError: Invalid Point: (25, NaN)
At /Applications/Atom.app/Contents/Resources/app.asar/node_modules/text-buffer/lib/point.js:65
TypeError: Invalid Point: (25, NaN)
at Function.module.exports.Point.assertValid (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/text-buffer/lib/point.js:65:15)
at TextBuffer.module.exports.TextBuffer.clipPosition (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/text-buffer/lib/text-buffer.js:980:13)
at TextBuffer.module.exports.TextBuffer.clipRange (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/text-buffer/lib/text-buffer.js:968:20)
at TextBuffer.module.exports.TextBuffer.markRange (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/text-buffer/lib/text-buffer.js:693:46)
at DisplayBuffer.module.exports.DisplayBuffer.markBufferRange (/Applications/Atom.app/Contents/Resources/app.asar/src/display-buffer.js:982:41)
at TextEditor.module.exports.TextEditor.markBufferRange (/Applications/Atom.app/Contents/Resources/app.asar/src/text-editor.js:1215:59)
at /Users/jonchan/.atom/packages/linter/lib/editor-linter.js:70:33
at Emitter.module.exports.Emitter.emit (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/event-kit/lib/emitter.js:86:11)
at EditorLinter.addMessage (/Users/jonchan/.atom/packages/linter/lib/editor-linter.js:150:22)
at /Users/jonchan/.atom/packages/linter/lib/linter-views.js:147:24
at Array.forEach (native)
at LinterViews.notifyEditorLinters (/Users/jonchan/.atom/packages/linter/lib/linter-views.js:145:13)
at LinterViews.render (/Users/jonchan/.atom/packages/linter/lib/linter-views.js:91:12)
at /Users/jonchan/.atom/packages/linter/lib/linter.coffee:29:14
at Emitter.module.exports.Emitter.emit (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/event-kit/lib/emitter.js:86:11)
at MessageRegistry.updatePublic (/Users/jonchan/.atom/packages/linter/lib/message-registry.js:118:20)
at UpdateMessages (/Users/jonchan/.atom/packages/linter/lib/message-registry.js:35:17)
-0:27.4.0 core:confirm (atom-text-editor.editor.mini.is-focused)
-0:27.4.0 linter:toggle (atom-text-editor.editor)
-0:17.2.0 core:backspace (atom-text-editor.editor.is-focused)
-0:16.8.0 core:move-down (atom-text-editor.editor.is-focused)
-0:15.1.0 core:backspace (atom-text-editor.editor.is-focused)
-0:13.8.0 core:save (atom-text-editor.editor.is-focused)
-0:12.1.0 latex:build (atom-text-editor.editor.is-focused)
-0:10 command-palette:toggle (atom-text-editor.editor.is-focused)
-0:07.5.0 core:confirm (atom-text-editor.editor.mini.is-focused)
-0:07.4.0 linter:lint (atom-text-editor.editor)
-0:06.3.0 spell-check:correct-misspelling (atom-text-editor.editor.is-focused)
2x -0:05.3.0 editor:split-selections-into-lines (atom-text-editor.editor.is-focused)
-0:04.1.0 command-palette:toggle (atom-text-editor.editor.is-focused)
-0:01.8.0 core:move-down (atom-text-editor.editor.mini.is-focused)
-0:01.4.0 core:confirm (atom-text-editor.editor.mini.is-focused)
-0:01.4.0 linter:toggle (atom-text-editor.editor)
{
"core": {
"projectHome": "/Users/jonchan/Developer/Private"
},
"linter": {}
}
# User
Sublime-Style-Column-Selection, v1.3.0
auto-detect-indentation, v0.4.2
language-diff, v0.3.1
language-latex, v0.6.1
latex, v0.28.2
linter, v1.10.0
linter-chktex, v1.2.3
linter-jshint, v1.2.1
minimap, v4.16.0
set-syntax, v0.3.0
# Dev
No dev packages
Hi:
I get this error in Atom:
/Applications/Atom.app/Contents/Resources/app.asar/src/buffered-process.js:260 Uncaught BufferedProcessError: Failed to spawn command chktex
. Make sure chktex
is installed and on your PATH
although
which chktex
prints the following
/usr/texbin/chktex
The files are compiled fine... I am not sure how to solve this..
Thanks
Use a config schema instead. See the configuration section
of https://atom.io/docs/latest/hacking-atom-package-word-count and
https://atom.io/docs/api/latest/Config for more details
Package.activateConfig (C:\Users\Nolen\AppData\Local\atom\app-0.196.0\resources\app.asar\src\package.js:247:11)
Package.activateNow (C:\Users\Nolen\AppData\Local\atom\app-0.196.0\resources\app.asar\src\package.js:218:14)
<unknown> (C:\Users\Nolen\AppData\Local\atom\app-0.196.0\resources\app.asar\src\package.js:203:30)
Package.measure (C:\Users\Nolen\AppData\Local\atom\app-0.196.0\resources\app.asar\src\package.js:147:15)
Is there a way to run chktex on .lhs files which contain LaTeX?
Currently the chktex linter is only available when the current file is named .tex
.
The title says it all.
Say you have your document in workspace/latex/document/text.tex
and some source code in workspace/cpp/project/src/main.cpp
.
Say you want to include a part of the source code:
\lstinputlisting[linerange={4-6,8-10},frame=single]{../../cpp/project/src/main.cpp}
chktex will then give the following warning:
11:You should use \ldots to achieve an ellipsis
This package doesn't seem to provide warnings anymore with the update of linter to v2.
As mentioned in #9 (comment), I was wondering if there are plans to allow the linter to read .chktexrc
files. This would be a nice feature.
I just installed linter-chktex and I'm getting this error while editing a .tex document:
Error: ENOENT: no such file or directory, stat ''
at Error (native)
at fs.statSync (fs.js:854:18)
at Object.fs.statSync (ATOM_SHELL_ASAR.js:225:16)
at /home/lars/.atom/packages/linter-chktex/lib/linter-chktex.coffee:35:24
at Object.provider.lint (/home/lars/.atom/packages/linter-chktex/lib/linter-chktex.coffee:30:20)
at Promise.then._this.emitter.emit.linter (/home/lars/.atom/packages/linter/lib/linter-registry.coffee:59:22)
at LinterRegistry.triggerLinter (/home/lars/.atom/packages/linter/lib/linter-registry.coffee:58:16)
at /home/lars/.atom/packages/linter/lib/linter-registry.coffee:52:17
at Array.map (native)
at /home/lars/.atom/packages/linter/lib/linter-registry.coffee:50:27
chktex
is in my path.
Config::unobserve no longer does anything. Call .dispose()
on the object returned by Config::observe instead.
Config.unobserve (c:\Users\Nolen\AppData\Local\atom\app-0.198.0\resources\app.asar\src\config.js:1060:19)
LinterChktex.destroy (C:\Users\Nolen\.atom\packages\linter-chktex\lib\linter-chktex.coffee:61:16)
LinterView.remove (C:\Users\Nolen\.atom\packages\linter\lib\linter-view.coffee:252:6)
<unknown> (C:\Users\Nolen\.atom\packages\linter\lib\linter-view.coffee:124:7)
When using the character ô
, chktex
keeps returning the following error Use "'" (ASCII 39) instead of "�" (ASCII 180).
. A quick search brought me to this thread that describes the exact same bug and explains quite well what is actually happening.
It appears that it was an issue on the chktex
package that has been resolved in 2015. Is linter-chktex
based on a previous version? If so, would it be possible to update it? If not, any idea on how to correct/avoid that?
Environment:
\usepackage[french]{babel}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
EDIT: I'm sorry, I overlooked the option in the settings. This issue can just be closed or deleted.
Sommer errors should be ignored, and I therefore add % chktex ##
with ##
being the warning number for that line. Chtex outputs this warning number in its format, but linter-chktex does not include it in its regexed output. Would it be too much trouble to enable this?
I'm not sure if this is a problem with linter or linter-chktex. The problem is that I get displayed wrong line numbers for issues linter-chktex found. The column number seems to be right. Also it seems like the inline dialogs break cursor navigation: When I put the cursor at some place where I want to edit text, the editing actually happens further right from the actual position of the cursor.
Compared to running chktex <file>
in the terminal, it seems that in Atom:
chktex
run from Atom ignores any user .chktexrc
, either in $HOME
or the current directory. Is this because of some sandboxing?\notag\\
which I'm not getting from the terminal run. This I don't understand as the warning seems valid.Platform: Mac OSX 10.11.6
Atom v1.9.9
linter-check 1.3.0
Other installed packages:
git-plus v5.16.2
grammar-token-limit 0.1.1
language-latex 0.6.1
latextools v0.8.2
linter 1.11.16
Have added to config.cson
'linter-chktex':
executablePath: "/Library/TeX/texbin/chktex"
I start the atom application and edit a latex file. When I go to save the file I get two alert boxes:
If I build the latex file using latextools:build, modify the file and save again the linter-chktex package behaves as expected.
After I update all my packages occurred this error message:
BufferedProcessError: Failed to spawn command /Library/TeX/texbin/ . Make sure it's a file, not a directory and it's executable.
at /Users/IgorDiniz/.atom/packages/linter-chktex/node-modules/atom-linter/lib/helpers.coffee:50:23
at Emitter.module.exports.Emiter.emit (%%Localization%%)
at BufferedProcess.module.exports.Buffered.Process.handleError (%%Localization%%)
at /Applications/Atom.app/Contents/Resources/app.asar/src/buffered-process.js:193:26
at doNTCallback0 (node.js:419:9)
at process._tickCallback (node.js:348:13)
Can Help me?
Thanks
:)
Since this linter only operates on the saved copy on disk of the file and not the current buffer state it should have lintOnFly
set to false. Otherwise linter
will keep running it against the disk copy every lint trigger.
Hi everybody,
I encounter a well-known problem with linter-chktex
due to too long lines. This seems to be an issue with chktex
itself (see here). chktex
works fine in terminal despite the usual warning:
chktex: WARNING -- ChkTeX does not handle lines over 1021 bytes correctly. Some errors and line numbers may be wrong in this file.
Unfortunately, linter-chktex
in Atom only shows this warning and stops working. I know, I could reflow the selection with Atom to shorten the lines (as suggested here), but I work together with colleagues who don't want too many line breaks. Is there any way to suppress this warning and get linter-chktex
working?
Thanks a lot for your help!!
I get this error every time that the module is used:
Error: ENOENT: no such file or directory, stat ''
at Error (native)
at fs.statSync (fs.js:854:18)
at Object.fs.statSync (ATOM_SHELL_ASAR.js:225:16)
at /home/sturgelose/.atom/packages/linter-chktex/lib/linter-chktex.coffee:43:24
at Object.provider.lint (/home/sturgelose/.atom/packages/linter-chktex/lib/linter-chktex.coffee:38:20)
at promises.push.Promise.then._this.emitter.emit.linter (/home/sturgelose/.atom/packages/linter/lib/linter-registry.js:63:26)
at /home/sturgelose/.atom/packages/linter/lib/linter-registry.js:62:23
at Set.forEach (native)
at LinterRegistry.lint (/home/sturgelose/.atom/packages/linter/lib/linter-registry.js:60:18)
at /home/sturgelose/.atom/packages/linter/lib/linter.coffee:88:16
It seems something related to the name of a file or folder... Any idea on how to fix this?
By using atom-package-deps
you are able to install linter
automatically on activation. This will allow new Atom users to install only your package and nothing else, removing one step from the installation process.
Please see AtomLinter/linter-ruby#38 for example.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.