1 Star 0 Fork 2

chhw/janus-gateway

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
eslint.config.mjs 717 Bytes
一键复制 编辑 原始数据 按行查看 历史
Alessandro Toppi 提交于 2024-06-14 03:23 +08:00 . Migrate to eslint v9 and fix rollup
import globals from 'globals';
import js from '@eslint/js';
import html from 'eslint-plugin-html'
export default [
{
files: [
'**/*.html',
'**/*.js'
],
plugins: {
html
},
languageOptions: {
ecmaVersion: 'latest',
globals: {
...globals.browser,
...globals.jquery,
'adapter': 'readonly',
'bootbox': 'readonly',
'define': 'readonly',
'module': 'readonly',
'toastr': 'readonly',
}
},
rules: {
...js.configs.recommended.rules,
'no-empty': 'off',
'no-unused-vars': [
'warn',
{
'args': 'all',
'vars': 'all',
'caughtErrors': 'all',
}
],
'indent': [
'error',
'tab',
{
'SwitchCase': 1
}
],
}
}
];
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
C/C++
1
https://gitee.com/chhw/janus-gateway.git
git@gitee.com:chhw/janus-gateway.git
chhw
janus-gateway
janus-gateway
master

搜索帮助