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

Update `.eslintrc.js` formatting

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