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

@dsb-norge/eslint-config-dsb-vue

Package Overview
Dependencies
Maintainers
4
Versions
19
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@dsb-norge/eslint-config-dsb-vue

ESLint standard config for Vue.js projects

  • 2.3.1
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
6
increased by50%
Maintainers
4
Weekly downloads
 
Created
Source

eslint-config-dsb-vue

npm version GitHub license

Installation

The default export contains all default ESLint rules for JavaScript Standard Style , including the recommended ruleset for Vue, and the ones listed in the rules section .

Note: It requires some peerDependencies as well.

Install the package with:

npx install-peerdeps --dev @dsb-norge/eslint-config-dsb-vue

Then install the correct versions of each peerDependency package, which are listed by the command:

npm info "@dsb-norge/eslint-config-dsb-vue@latest" peerDependencies

Usage

Now add the config to either your package.json:

{
  "eslintConfig": {
    "extends": "@dsb-norge/dsb-vue"
  }
}

or to your .eslintrc:

{
  "extends": "@dsb-norge/dsb-vue"
}

or to your .eslintrc.js:

module.exports = {
  extends: '@dsb-norge/dsb-vue'
}

Assumptions

This ESLint configuration comes with some fundamental assumptions:

  • vue.js and/or node environment
  • browser and/or node environment
  • parser: babel (used @babel/eslint-parser)

Despite some assumptions, you can easily overwrite, extend and unset rules and any other setting in your custom eslint config.

Keywords

FAQs

Package last updated on 17 Jan 2024

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