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

eslint-config-opuscapita

Package Overview
Dependencies
Maintainers
6
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

eslint-config-opuscapita

OpusCapita ESLint config, following our styleguide

  • 2.0.10
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
12
decreased by-45.45%
Maintainers
6
Weekly downloads
 
Created
Source

badge-npm-version NPM Downloads badge-license

OpusCapita ESLint config

Synopsis

This package provides OpusCapita's base .eslintrc as an extensible shared config.

Motivation

ESLint is a tool for guarantee a code style consistency across developers team. It helps to take a code more clear and readable. For example it detects an unused variables. Also with linting you automatically avoid common pit-falls

Usage

Our default export contains all of our ESLint rules, including ECMAScript 2015+ and React.

It requires:

  1. npm install --save-dev -E eslint-config-opuscapita eslint-plugin-react@7.5.1 babel-eslint@8.1.2 eslint@4.14.0
  2. add "extends": "opuscapita" to your .eslintrc

.eslintrc example:

{
  "extends": "opuscapita",
  "env": {
    "jasmine": true,
    "browser": true,
    "node": true,
    "es6": true
  }
}

Tips

Rules reference

Editor configuration

It unnecessary to run npm run eslint every time for error checking. Your editor able to highlight an errors on fly. Some users prefer this way.

How to enable ESLint in your editor

Automatically fixing can be applied to some rules

npm run lint -- --fix

Contributors

License

OpusCapita ESLint config is licensed under the Apache License, Version 2.0. See LICENSE for the full license text.

FAQs

Package last updated on 04 Apr 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