New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.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

Full description coming soon... Based on [JS standard Code Style](http://standardjs.com) with additions (see `index.js`)

  • 1.0.2
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
9
increased by12.5%
Maintainers
1
Weekly downloads
 
Created
Source

Strelka Code Style Eslint configuration

Full description coming soon... Based on JS standard Code Style with additions (see index.js)

Quick start

npm i -D eslint babel-eslint eslint-{config-{standard,standard-jsx,strelka},plugin-{meteor,promise,react,standard}} && echo '{ "extends": [ "strelka" ] }' >> .eslintrc && echo '.meteor\nnode_modules\npublic\nprivate' >> .eslintignore && ./node_modules/.bin/eslint . --ext=js,jsx

Setup

Dependencies
$ npm i -D eslint
$ npm i -D babel-eslint
$ npm i -D eslint-{config-{standard,standard-jsx},plugin-{meteor,promise,react,standard}}
Installation
  1. Install strelka config
$ npm i -D eslint-config-strelka
  1. Create .eslintrc in project folder with following content:
{
  "extends": [ "strelka" ]
}
  1. Additionally create .eslintignore with list of ignored files:
.meteor
node_modules
public
private
  1. Check Code Style ./node_modules/.bin/eslint . --ext=js,jsx
  2. (Optional) Fix some Code Style errors with ./node_modules/.bin/eslint . --fix --ext=js,jsx

Usage with Sublime Text

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

FAQs

Package last updated on 01 Aug 2016

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