Registry / testing / eslint-config-videojs

eslint-config-videojs

JSON →
library6.1.0jsnpmunverified

An ESLint shareable config enforcing the video.js standard style. This package provides a set of ESLint rules for projects following the video.js coding conventions. Current version 6.1.0 is stable and rarely changes. Designed for use with ESLint's extends feature. Primarily used within the video.js ecosystem, but can be adopted by other projects. Maintenance is minimal, with updates only for compelling rule changes. Versioning follows strict guidelines: loosening rules are patches, tightening non-breaking rules are minors, all other changes are majors. Lead maintainer: Pat O'Neill.

npm install eslint-config-videojs
INSTALL
IMPORT
SIG · ESLINT-CONFIG-VIDE
E
eslint-config-videojs
testingjavascriptv6.1.0
Install
—
Import
—
Disk
—
Pass rate
0/ 6
Env Coverage0 / 6
glibc
18–22
musl
18–22
Install & Compatibility
Where this runs
tested against v? · npm install
Install × environment matrix
Each cell = how many times install + import succeeded across repeated harness runs. Partial = flaky.
glibc = Debian/Ubuntu slim · musl = Alpine Linux
musl
node 18–226 runs
build_error
glibc
node 18–226 runs
build_error
Code
Verified usage

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

Shareable config
✓ In .eslintrc: { "extends": "videojs" }
✗ Using require('eslint-config-videojs') directly
The config is used via ESLint's extends, not imported directly. The eslint-config- prefix is omitted.
Config as module (if needed)
✓ const videojs = require('eslint-config-videojs');
Can be used programmatically in eslintrc.js: module.exports = { extends: [videojs] };
TypeScript support
✓ No TypeScript typings provided.
✗ Attempting to import as @types/eslint-config-videojs
This package does not ship TypeScript definitions; it's a plain JS config object.

Shows how to install and use the shareable config in an ESLint configuration file.

// 1. Install npm install eslint-config-videojs // 2. Create .eslintrc.json { "extends": "videojs" } // 3. Run ESLint npx eslint yourfile.js
Debug
Known issues
breakingMajor version bumps may introduce stricter rules that cause new lint errors.
fix
Review changelog before upgrading major versions; pin version if needed.
affects: >=0.0.0
deprecatedThis config is based on older ESLint rule formats; may not support flat config (eslint.config.js) in ESLint v9+.
fix
Use traditional .eslintrc format or migrate to flat config manually if needed.
affects: >=6.0.0
gotchaThe package rarely changes; rule updates are infrequent. Do not expect active rule additions.
fix
If you need modern rules, consider extending another config as a base.
affects: >=0.0.0
gotchaThe config extends 'eslint-config-standard' internally; changes in that dependency may affect this config.
fix
Check peer dependencies and standard config updates.
affects: >=0.0.0
Errors
Common errors & fixes
Error: Failed to load plugin 'you-dont-need-lodash-underscore' declared in 'videojs'
Missing peer dependency of eslint-config-standard
fix
Install the missing plugin: npm install eslint-plugin-you-dont-need-lodash-underscore --save-dev
ESLint couldn't find the config "videojs".
.eslintrc file not correctly configured or package not installed
fix
Ensure eslint-config-videojs is in node_modules and extends value is 'videojs' (without prefix).
Parsing error: The keyword 'import' is reserved
Config does not enable ES module parsing by default
fix
Add parserOptions: { sourceType: 'module' } in your .eslintrc or use a separate parser like babel-eslint.
Upgrade
Version history
6.1.0latest on npm
Audit
Dependencies
eslintrequiredPeer dependency required for ESLint to function
Agent activity
4 hits · last 30 days
node
4
Resources
eslint-config-videojs — npm install eslint-config-videojs · libregistry