• Packages
  • Themes
  • Documentation
  • Blog
  • Discuss
Sign in

linter-ggstyle

Greater Goods fork of linter-js-standard for ggstyle
  • #javascript
  • #standard
  • #linter
djengle91
0.3.1 84
0
  • Repo
  • Bugs
  • Versions
  • License
Flag as spam or malicious

linter-ggstyle

This plugin for Linter provides an interface for error/warning messages from ggstyle, forked from linter-js-standard.

Installation

Linter package must be installed in order to use this plugin. If Linter is not installed, please follow the instructions here.

Plugin installation

$ apm install linter-ggstyle

Settings

honorStyleSettings (default: true)

Honors style settings defined in package.json.

Current style settings supported:

  • ignore
  • parser

showEslintRules (default: false)

Enable/disable showing the id of the offended eslint rules.

Example of messages while showEslintRules is:

  • true: Extra semicolon. (semi)
  • false: Extra semicolon.

Global Variable Support

To have the linter not warn about undeclared variables when using global variables, honorStyleSettings has to be checked/true and a "globals" section has to be added to package.json:

"ggstyle": {
    "globals": [
      "var1",
      "var2"
    ]
  }

License

MIT

I think this package is bad news.

Good catch. Let us know what about this package looks wrong to you, and we'll investigate right away.

  • Terms of Use
  • Privacy
  • Code of Conduct
  • Releases
  • FAQ
  • Contact
with by