Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

eslint-config-strelka

Package Overview
Dependencies
Maintainers
1
Versions
15
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

eslint-config-strelka

> Based on [Standard JS](http://standardjs.com)

  • 2.6.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
5
Maintainers
1
Weekly downloads
 
Created
Source

eslint-config-strelka

Based on Standard JS

Setup

General

  1. Install:
$ yarn add eslint eslint-{config-{standard,strelka},plugin-{promise,import,node,standard}}
  1. In .eslintrc:
{ "extends": "strelka" }

React

  1. Install:
$ yarn add eslint eslint-{config-{standard,standard-jsx,strelka},plugin-{promise,import,node,react,standard}}
  1. In .eslintrc:
{ "extends": "strelka/react" }
  1. Usage:
$ eslint --ext js,jsx .

Vue

  1. Install:
$ yarn add eslint eslint-{config-{standard,vue,strelka},plugin-{promise,import,node,html,vue,standard}}
  1. In .eslintrc:
{ "extends": "strelka/vue" }
  1. Usage:
$ eslint --ext js,vue .

Editors

Sublime Text
  1. Install Eslint globally with npm i -g eslint
  2. Install Sublime packages:
    • SublimeLinter
    • SublimeLinter-contrib-eslint
  3. Open SublimeLinter Settings: User and add this options:
"user": {
  "linters": {
    "eslint": {
      "@disable": false,
      "args": [ "--ext=js,jsx,vue" ],
      "excludes": []
    }
  },
  "syntax_map": {
    "javascript (babel)": "javascript",
    "vue": "javascript"
  },
}

Rules

TODO

  • Standard.js - One JavaScript Style to Rule Them All
  • ESLint - The pluggable linting utility for JavaScript and JSX

Strelka

Keywords

FAQs

Package last updated on 02 Oct 2017

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