New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

eslint-config-lexmarkweb

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

eslint-config-lexmarkweb

ESLint configuration for Lexmark Web Team

  • 0.1.6
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

eslint-config-lexmarkweb

ESLint config for Lexmark web team

Introduction

ESLint provides static code analysis for Javascript. It looks through your code and makes sure it conforms to standards. The rules here are the standards for the Lexmark Global Web Team.

Getting Started

We assume Mac users have homebrew installed already. Windows and Linux users follow a similar process.

  1. Install nodejs brew install node
  2. Install eslint npm install -g eslint eslint-config-lexmarkweb
  3. Create a file in your home directory ~/.eslintrc that contains extends: lexmarkweb

Integration

AFTER following the Getting Started instructions above, here is how you use ESLint.

  • Command line

    1. From commandline type eslint file.js
    2. To fix issues automatically you can type eslint --fix file.js. The file.js will be modified directly.
  • Atom

    1. From Atom | Preferences... | Packages search for linter-eslint
    2. Install the package
    3. Package Settings
    • Set Global Node Installation Path to /usr/local
    • Set Use global ESLint installation
    1. When you open a Javascript file errors will be highlighted.
  • IntelliJ

    1. From IntelliJ Idea | Preferences | Plugins click Browse repositories... and search for ESLint.
    2. Restart IntelliJ
    3. From IntelliJ Idea | Preferences | Other Settings | ESLint
    • Check enable
    • Set Node interpretter to /usr/local/bin/node
    • Set Path to eslint bin to /usr/local/bin/eslint
    • Select Let eslint search for .eslint up the folder tree
    1. When you open a Javascript file errors will be highlighted.
  • SublimeText

    1. Choose Tools | Install Package Control... if you have not done that already.
    2. From Tools | Command Pallette type install and select Package control: Install Package
    3. Type SublimeLinter and install the SublimeLinter package.
    4. From Tools | Command Pallette type install and select Package control: Install Package
    5. Type contrib-eslint and install the submlimelinter-contrinb-eslint package.
    6. When you open a Javascript file errors will be highlighted.
  • VisualStudio Code

    1. Ctrl-Shift-X and find and install the ESLint plugin by Dirk Baeumer.
    2. When you open a Javascript file errors will be highlighted.
  • VIM. If you use VIM you don't need step by step instructions. :wink:

See the ESLint site for other integrations

Keywords

FAQs

Package last updated on 29 Aug 2019

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