Socket
Socket
Sign inDemoInstall

eslint-plugin-spellcheck

Package Overview
Dependencies
Maintainers
1
Versions
17
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

eslint-plugin-spellcheck

ESLint rules for to spell check js files


Version published
Weekly downloads
58K
increased by7.51%
Maintainers
1
Weekly downloads
 
Created
Source

eslint-plugin-spellcheck

eslint plugin to spell check words on identifiers, Strings and comments of javascript files.

Usage in a project

  1. Install eslint-plugin-spellcheck as a dev-dependency:

    npm install --save-dev eslint-plugin-spellcheck
    
  2. Enable the plugin by adding it to your .eslintrc:

    plugins:
      - spellcheck
    
  3. You can also configure these rules in your .eslintrc. All rules defined in this plugin have to be prefixed by 'spellcheck/'

    plugins:
      - spellcheck
    rules:
      - spellcheck/spell-strings: 0
    

Usage globally

  1. Install eslint-plugin-spellcheck as a global package:

    npm install -g eslint-plugin-spellcheck
    
  2. Enable the plugin by adding it to your eslint.json:

    "plugins": [
       "spellcheck"
    ],
    "rules": {
       "spellcheck/spell-strings": 1
       }
    

Rules

NameDescriptionDefault Configuration
spell-commentsCheck spelling inside js comments'spell-comments': 1
spell-stringsCheck spelling on each word in strings'spell-strings': 1
spell-identifiersCheck spelling on identifiers, separatesd words if camelCased or snake_cased'spell-identifiers': 1

Keywords

FAQs

Package last updated on 29 May 2015

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc