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

@studyportals/code-style

Package Overview
Dependencies
Maintainers
14
Versions
48
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@studyportals/code-style

Default linting configurations for the Studyportals repositories

  • 1.4.0
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
2.2K
increased by8.91%
Maintainers
14
Weekly downloads
 
Created
Source

CodeStyle

Default linting configurations to use in Studyportals repositories.

Please send pull requests to the Stefan Klokgieters, Rob van den Hout or Frank Kluijtmans if you think you want to suggest changes.

Install

You can add CodeStyle as a dependency to your project by running the following command:

npm install @studyportals/code-style --save-dev

How To Use

When you installed the package you can simply extend from the configuration files inside the CodeStyle package.

ESLint

// package.json
"eslintConfig": {
    "extends": "./node_modules/@studyportals/code-style/.eslintrc.js",
    "parserOptions": {
        "sourceType": "module"
    }
}

TSLint

// tslint.json
{
    "extends": "./node_modules/@studyportals/code-style/tslint.json"
}

By extending from the linting config files in CodeStyle you are ensuring that you are using the same configuration as we use in our Super Linter configuration.

If you would like to use the configurations for the PHP and SCSS linters you would have to copy it from this projects source.

FAQs

Package last updated on 27 Jul 2021

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