0.5.0 • Published 2 months ago

@das.laboratory/eslint-config-interactive-next v0.5.0

Weekly downloads
-
License
UNLICENSED
Repository
-
Last release
2 months ago

eslint-config-interactive-next

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.

Packages included are:

Important:

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.

Example:

This will use the Vue 2 version.

// .eslintrc.js:

module.exports = {
	root: true,
	extends: ['@das.laboratory/eslint-config-interactive-next/vue2']
};

See also:

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