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

eslint-config-muriki

Package Overview
Dependencies
Maintainers
1
Versions
65
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

eslint-config-muriki

My excellent eslint config.

  • 0.9.1
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
52
decreased by-1.89%
Maintainers
1
Weekly downloads
 
Created
Source

ESLint Config Muriki

An excellent ESLint config you should totally use.

Install

npm install --save-dev eslint eslint-config-muriki

Usage

Create your .eslintrc.js file.

module.exports = {

  extends: [
    'muriki'
  ]

}

Modularity

Muriki config is split up in different modules you can combine at your own liking.

module.exports = {

  extends: [

    // potential errors and best practices
    'muriki/base',

    // style rules
    'muriki/style',

    // environments
    'muriki/env/browser',
    'muriki/env/node-ish',         // for bundled JavaScript, include after browser for looser rules
    'muriki/env/node',             // extends node-ish
    'muriki/env/node-script',      // extends node - some rules loosened up
    'muriki/env/test',             // loosen up some rules, import after node/browser
    'muriki/env/test-mocha',       // extends test

    // node version
    'muriki/es/2015',              // rules specific for es2015
    'muriki/es/2016',              // rules specific for es2016

    // extra
    'muriki/react',                // rules specific for React
    'muriki/react-jsx',            // extends react
  ]

}

Extending the default [extends: ['muriki']] include base and style.

TODO

  • Muriki config
  • Presets for ES5 / ES2016 <> Node 0.10, Node 0.12, Node 4, Node 5
  • Update rules of plugins (and find a way to track their changes)
  • Integrate lo1tuma/eslint-plugin-mocha
  • Integrate eslint angular plugin
  • Create custom comma-dangle rule
  • CLI to lookup rules
  • CLI to generate config file (.js)
  • CLI to update config file
  • CLI to validate config file
  • CLI to list missing rules
  • CLI to set / update presets on config file

Keywords

FAQs

Package last updated on 20 Mar 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