Skip to content

Atom package to detect bugs and quality issues in JavaScript code including React.

License

Notifications You must be signed in to change notification settings

deepscanbot/atom-deepscan

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

atom-deepscan

Version DeepScan Grade

Atom package to detect bugs and quality issues in JavaScript, TypeScript, React and Vue.js. Works with DeepScan.

DeepScan is a cutting-edge JavaScript code inspection tool that helps you to find bugs and quality issues more precisely by data-flow analysis. You can also use it for React and Vue.js because DeepScan delivers React specialized rules and Vue.js specialized rules.

Note: To use this extension, you should confirm that your code is transferred to the DeepScan server for inspection when you save your changes. You can confirm it by pressing the Confirm button that appears when restarting Atom after the installation.

Note that your code is completely deleted from the server right after the inspection.

Navigation

Installation

apm install atom-deepscan

How it works

  • You need Linter package. Once Linter package is installed, just restart Atom.
  • Report issues in the Linter view when you open a JS or JSX file and save it.
  • Highlight issues in the code.
  • For support of .jsx file, include a grammar of atom-react.
  • For support of .ts and .tsx file, include a grammar of language-typescript-grammars-only.
  • For support of .vue file, include a grammar of atom-vue.

Settings Options

This plugin contributes the following variables to the settings:

  • enable: Enable/disable DeepScan inspection. Disabled by default. Enabled when you confirm.
  • server: Set an url of DeepScan server. "https://deepscan.io" by default.
  • ignoreRules: Set an array of rules to exclude.
  • showDecorators: Controls whether the problem of the code should be shown along with the code.
  • showFullDescription: Controls whether the full description of the issue should be shown when you hover it. Applied after reopening the file.

Settings

Disabling Rules with Inline Comments

While you can exclude rules project wide via deepscan.ignoreRules option, you can also disable a rule in a file using inline comment.

const x = 0;
x = 1; x + 1; // deepscan-disable-line UNUSED_EXPR

Read more about it here.

How to contribute

About

Atom package to detect bugs and quality issues in JavaScript code including React.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 86.1%
  • CSS 13.9%