Socket
Socket
Sign inDemoInstall

eslint-plugin-strudel

Package Overview
Dependencies
128
Maintainers
3
Versions
4
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    eslint-plugin-strudel

ESLint plugin for Strudel.js


Version published
Weekly downloads
9
increased by350%
Maintainers
3
Created
Weekly downloads
 

Readme

Source

eslint-plugin-strudel

Version License

Official ESLint plugin for Strudel.js

Requirements

  • ESLint ^5.0.0
  • Node.js >=6.10.0

Installation

Install ESLint either locally or globally.

$ npm i eslint eslint-plugin-strudel -D

Usage

Create .eslintrc.* file to configure rules. See: http://eslint.org/docs/user-guide/configuring

Example .eslintrc.js:

{
  "extends": [
    "plugin:strudel/recommended"
  ]
}

Configs

This plugin provides two predefined configs:

  • plugin:strudel/base: Settings and rules to enable correct ESLint parsing
  • plugin:strudel/recommended: Above, plus rules to prevent errors and ensure consistency

Rules

Contribution

Before you start writing new rule, please read the official ESLint guide.

Next you need to get an idea how the AST looks like - use astexplorer.net to inspect ASTs.

When writing tests for rules Debugging Mocha guide for Visual Studio Code may become helpful.

License

MIT

Copyright (c) 2017-present, Mateusz Łuczak

Keywords

FAQs

Last updated on 09 Oct 2018

Did you know?

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc