1.1.4 • Published 1 year ago

eslint-config-superology-vue v1.1.4

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

eslint-config-superology-vue

Shared ESLint config for Vue based projects at Superology.

@superology/eslint-config-vue

ESLint statically analyzes your code to quickly find problems. ESLint is built into most text editors and you can run ESLint as part of your continuous integration pipeline.

Usage

Install the configuration

npm install eslint-config-superology-vue --save-dev

Also make sure you have peer dependencies installed:

npm install eslint prettier jest eslint-plugin-import --save-dev

Add to ESLint configuration

{
  "extends": "eslint-config-superology-vue"
}

Using .eslintrc file

or

module.exports = {
  extends: "eslint-config-superology-vue",
};

if using .eslintrc.js file

Handling browser compatibility

It's recommended to update your package.json with browsers you intend to support using browserslist. The defaults for Superology would be:

{
    "browserslist": [
        "last 2 versions",
        "not dead",
        "not ie >= 0",
        "not op_mini all",
        "not op_mob >= 0"
  ]
}

You can then check the supported browsers by running npx browserslist.

If you still receive compatibility warnings for browsers that you are not supporting, it's possible that some npm package is superseding your eslint config with it's own config. To make sure that your browserslist is respected, override the targets in your eslintrc config with:

{
    "settings": {
        "targets": null
    }
}

Suggestions?

Create a discussion on GitHub or learn how to make a contribution.

1.1.4

1 year ago

1.1.3

2 years ago

1.1.2

2 years ago

1.1.0

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago

0.3.5

2 years ago

0.3.2

2 years ago

0.3.1

2 years ago

0.3.4

2 years ago

0.3.3

2 years ago

0.3.0

2 years ago

0.2.7

2 years ago

0.2.6

2 years ago

0.2.5

2 years ago

0.2.4

2 years ago

0.2.3

2 years ago

0.2.2

2 years ago

0.2.1

2 years ago

0.2.0

2 years ago

0.1.9

2 years ago

0.1.8

2 years ago

0.1.7

2 years ago

0.1.6

2 years ago

0.1.5

2 years ago

0.1.4

2 years ago

0.1.3

2 years ago

0.1.2

2 years ago

0.1.0

2 years ago

0.0.9

2 years ago

0.0.8

2 years ago

0.0.7

2 years ago

0.0.6

2 years ago

0.0.5

2 years ago

0.0.4

2 years ago

0.0.3

2 years ago

0.0.2

2 years ago

0.0.1

2 years ago