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 Atlassian Frontend.


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

[//]:

'Warning: The readme in this package root is generated. If you want to edit the readme, you must update the readme inside the templates dir, and run generate-readmes'

stricter-plugin-tangerine

A set of Stricter rules developed by Atlassian as part of Atlassian Frontend.

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

Note: This will most likely change in the future to a proper plugin system

Specify the rules dir of this plugin in the rulesDir configuration of your stricter.config.js file:

{
  "rulesDir": ["my-custom-rules", "node_modules/stricter-plugin-tangerine/rules"]
}

You can now enable the rules you want to use:

{
  "rules": {
    "tangerine/project-structure": "error"
  }
}

Rules

project-structure

  • 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 yarn docs:generate-pkg from the root directory to add a link to the frontpage README.md file.

All rules are exposed automatically.

To change this file, edit template instead, then run yarn docs:generate-pkg from the root directory

FAQs

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