Registry / devops / eslint-config-code-style-lint-vue3-ts

eslint-config-code-style-lint-vue3-ts

JSON →
library3.1.1jsnpmunverified

ESLint configuration preset for Vue 3 + TypeScript projects enforcing a consistent code style. Current stable version is 3.1.1, released on an irregular cadence. Key differentiators include a bundled opinionated style rule set tailored specifically for Vue 3 Composition API and TypeScript, reducing boilerplate. The package has peer dependencies on eslint and typescript.

npm install eslint-config-code-style-lint-vue3-ts
INSTALL
IMPORT
SIG · ESLINT-CONFIG-CODE
E
eslint-config-code-style-lint-vue3-ts
devopsjavascriptv3.1.1
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

eslint-config-code-style-lint-vue3-ts
extends: ['code-style-lint-vue3-ts']
extends: ['eslint-config-code-style-lint-vue3-ts']
ESLint automatically resolves the 'eslint-config-' prefix, so use the short name 'code-style-lint-vue3-ts' in 'extends'.
config
module.exports = require('eslint-config-code-style-lint-vue3-ts')
For custom configs that merge with this preset, require the module in an ESLint config file.

Shows how to set up an ESLint config file for a Vue 3 + TypeScript project using this preset.

// .eslintrc.cjs module.exports = { root: true, env: { browser: true, node: true, }, extends: ['code-style-lint-vue3-ts'], parserOptions: { parser: '@typescript-eslint/parser', }, rules: { // override rules if needed }, };
Debug
Known issues
gotchaESLint config resolution uses 'extends' without the 'eslint-config-' prefix
fix
Use 'extends: ["code-style-lint-vue3-ts"]' not 'extends: ["eslint-config-code-style-lint-vue3-ts"]'.
affects: all
Errors
Common errors & fixes
ESLint couldn't find the config "code-style-lint-vue3-ts".
The package is not installed or not in node_modules.
fix
Run 'npm install eslint-config-code-style-lint-vue3-ts eslint prettier -D'.
Parsing error: Unexpected token. Did you mean to use 'type' or '@typescript-eslint/parser'?
TypeScript parser is not configured.
fix
Add 'parserOptions: { parser: '@typescript-eslint/parser' }' to your ESLint config.
Upgrade
Version history
3.1.1latest on npm
Audit
Dependencies
eslintrequiredpeer dependency required for linting
typescriptrequiredpeer dependency required for TypeScript support
Agent activity
2 hits · last 30 days
node
2
Resources
eslint-config-code-style-lint-vue3-ts — npm install eslint-config-code-style-lint-vue3-ts · libregistry