Socket
Socket
Sign inDemoInstall

stricter-plugin-tangerine

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

stricter-plugin-tangerine

Custom stricter rules used by Tangerine at Atlassian


Version published
Weekly downloads
20
increased by233.33%
Maintainers
1
Weekly downloads
 
Created
Source

stricter-plugin-tangerine

A set of Stricter rules developed by Atlassian as part of Tangerine 🍊.

Installation

Install Stricter locally or globally:

$ yarn add --dev stricter

If you've installed Stricter globally, you'll have to install the Tangerine plugin globally too. Otherwise, install it locally:

$ yarn add --dev stricter-plugin-tangerine

Configuration

Specify tangerine in the plugins field of your stricter.config.js file:

  // stricter.config.js
module.exports = {
  plugins: ['tangerine'],
  ...
}

You can then explicitly enable and configure the tangerine rules:

  // stricter.config.js
module.exports = {
  plugins: ['tangerine'],
  rules: {
    'tangerine/project-structure': {
      level: 'error',
      config: { ... },
    }
  }
}

Rules

  • Enforce a specific file structure for your project (project-structure)

Contributing

All rules are located in separate directories, in the corresponding rules/<ruleCategory> directory. The rule's name must be identical to its directory name.

Every rule must contain:

After adding a new rule, run node generate-readme.js to add a link to the frontpage README.md file.

All rules are exposed automatically.

To change this file, edit template instead, then run node generate-readme.js

FAQs

Package last updated on 02 May 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