2.3.1 • Published 4 months ago

@dsb-norge/eslint-config-dsb-vue v2.3.1

Weekly downloads
11
License
ISC
Repository
github
Last release
4 months ago

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.

2.3.1

4 months ago

2.3.0

10 months ago

2.2.1

1 year ago

2.2.0

2 years ago

2.1.0

2 years ago

2.0.1

2 years ago

1.2.1

2 years ago

1.2.0

2 years ago

1.1.0

2 years ago

2.0.0

2 years ago

1.0.9

3 years ago

1.0.8

3 years ago

1.0.7

3 years ago

1.0.6

4 years ago

1.0.5

4 years ago

1.0.4

4 years ago

1.0.3-rc2

4 years ago

1.0.3

4 years ago

1.0.2

5 years ago

1.0.1

5 years ago