shaka-player
Version:
DASH/EME video player library
25 lines (22 loc) • 438 B
JavaScript
/*! @license
* Shaka Player
* Copyright 2016 Google LLC
* SPDX-License-Identifier: Apache-2.0
*/
module.exports = {
rules: {},
configs: {
config: {
plugins: ['shaka-rules'],
rules: {},
},
},
};
const RULES = [
'arg-comment-spacing',
'private',
];
for (const rule of RULES) {
module.exports.rules[rule] = require('./' + rule);
module.exports.configs.config.rules['shaka-rules/' + rule] = 'error';
}