提交 fd7287e7 authored 作者: Nazar Mokrynskyi's avatar Nazar Mokrynskyi

Update `.eslintrc.js` formatting

上级 f604fbf3
......@@ -179,7 +179,8 @@ const eslintConfig =
overrides : []
};
eslintConfig.overrides.push({
eslintConfig.overrides.push(
{
files : [ '*.ts' ],
parser : '@typescript-eslint/parser',
plugins : [
......@@ -216,9 +217,10 @@ eslintConfig.overrides.push({
'@typescript-eslint/no-empty-function' : 0,
'@typescript-eslint/no-non-null-assertion' : 0
}
});
});
eslintConfig.overrides.push({
eslintConfig.overrides.push(
{
files : [ '*.js' ],
env : {
...eslintConfig.env,
......@@ -228,6 +230,6 @@ eslintConfig.overrides.push({
...eslintConfig.plugins,
'jest'
]
});
});
module.exports = eslintConfig;
Markdown 格式
0% 或
您添加了 0 人 到此讨论。请谨慎行事。
请先完成此评论的编辑!
请 注册 或者 后发表评论