xlink-player
Version:
xlink-player is based on flv.js and video.js
33 lines (32 loc) • 802 B
JavaScript
module.exports = {
root: true,
env: {
node: true
},
extends: ['plugin:vue/essential', '@vue/prettier', '@vue/typescript'],
parserOptions: {
ecmaVersion: 2020,
parser: '@typescript-eslint/parser',
},
rules: {
"no-console": process.env.NODE_ENV === "production" ? "warn" : "off",
"no-debugger": process.env.NODE_ENV === "production" ? "warn" : "off",
'prettier/prettier': [
'error',
{
printWidth: 120,
semi: false,
singleQuote: true,
trailingComma: 'all',
bracketSpacing: true,
jsxBracketSameLine: false,
arrowParens: 'avoid',
insertPragma: true,
tabWidth: 2,
useTabs: false,
}
],
'no-prototype-builtins': 'off',
'no-async-promise-executor': 'off'
},
};