ESLint config for next generation simpleshow interactive projects.
This package will install ESLint and related packages in your workspace, supporting modern JavaScript features and Vue.js 3.x.
- eslint
- eslint-config-jquery
- eslint-config-prettier
- eslint-plugin-import
- eslint-plugin-jsdoc
- eslint-plugin-jsonc
- eslint-plugin-prefer-arrow
- eslint-plugin-simple-import-sort
- eslint-plugin-vue
I had to split this package up to allow the destinction between projects using Vue 2, Vue 3, or no Vue at all.
For Vue 2 support use @das.laboratory/eslint-config-interactive-next/vue2
.
For Vue 3 support use @das.laboratory/eslint-config-interactive-next/vue3
.
Without Vue support use @das.laboratory/eslint-config-interactive-next/base
.
Loading the default @das.laboratory/eslint-config-interactive-next
will use Vue 3.
This will use the Vue 2 version.
// .eslintrc.js:
module.exports = {
root: true,
extends: ['@das.laboratory/eslint-config-interactive-next/vue2']
};
A legacy ES5 version that specifically supports IE11 can be found here: @das.laboratory/eslint-config-interactive
For details read "LIPSTICK ON A PIG - Linting and formatting revisited".
Cheers, Nicolas