パッケージの詳細

eslint-config-videojs

videojs8.2kApache-2.06.1.0

An ESLint Shareable Config for video.js Standard Style.

videojs, standard, style checker, code style

readme

video.js ESLint Shareable Config

Build Status Greenkeeper badge Slack Status

NPM

An ESLint Shareable Config for video.js Standard Style.

This package is for advanced users. If you only want the video.js Standard Style program to check your code, use that instead!

Lead Maintainer: Pat O'Neill @misteroneill

Maintenance Status: Stable

Install

npm install eslint-config-videojs

Usage

Shareable configs are designed to work with the extends feature of .eslintrc files.

You can learn more about Shareable Configs on the official ESLint website.

To use the video.js Standard Style shareable config, first run this:

npm install eslint-config-videojs

Then, add this to your .eslintrc file:

{
  "extends": "videojs"
}

Note: We omitted the eslint-config- prefix since it is automatically assumed by ESLint.

You can override settings from the shareable config by adding them directly into your .eslintrc file.

Contributing

This project should almost never change.

A rule should only change if there is a very compelling reason that the video.js core contributors have agreed upon by discussion in an issue.

Versioning Guidelines

Because this project can cause builds to fail, we want to avoid any potentially breaking changes outside of major versions. As such, these rules will be followed:

  • Any change which is a loosening of a rule (an error becoming a warning or a rule being removed) can be released as a patch.
  • Any change which is tightening a rule from off to warning can be released as a minor.
  • All other changes are considered major.

This should allow common version ranges (~ and ^) to never introduce a change that could break someone's build due to linter errors!

License

Apache-2.0. Copyright (c) Brightcove, Inc.

This project is based on eslint-config-standard, which is licensed under the MIT license and copyright (c) Feross Aboukhadijeh.

更新履歴

6.1.0 (2024-05-10)

Features

6.0.0 (2021-05-28)

Features

  • update to eslint 7 compatability (#49) (98fe6ab)

Chores

  • package: update eslint-plugin-jsdoc to version 4.0.1 (#42) (3b3ed24)
  • switch to @videojs/generator-helpers (4b1ed02)
  • package: update lint-staged to version 8.0.4 (#40) (551df79), closes #36

BREAKING CHANGES

  • minimum required node version is now 14

5.0.2 (2018-09-26)

Bug Fixes

5.0.1 (2018-09-21)

Bug Fixes

  • update ecma version to 2017 for actual async/await (1e482fe)

5.0.0 (2018-09-21)

Features

  • make newline more consistent with indent changes (#33) (c05a28e), closes #32
  • updating to ecmaVersion 2016 (#34) (614bb78)

Chores

  • tooling update (f410f4a)
  • upgrade package-lock to npm 6.4.1/node 8.12 (5bb0fe3)

BREAKING CHANGES

  • this changes indent/newline options and thus can require changes to code.