From abea2c247922fc88b2501bc747c6e57c8de87761 Mon Sep 17 00:00:00 2001 From: halldwang Date: Tue, 23 Feb 2021 16:45:16 +0800 Subject: [PATCH] style: .eslintrc --- .eslintrc.js | 8 +------- LICENSE | 2 +- 2 files changed, 2 insertions(+), 8 deletions(-) diff --git a/.eslintrc.js b/.eslintrc.js index e160226..fb28bf7 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -1,30 +1,24 @@ module.exports = { extends: [ - // 规则继承 https://github.com/AlloyTeam/eslint-config-alloy + // https://github.com/AlloyTeam/eslint-config-alloy 'alloy' ], globals: { - // 全局变量 window 不允许被重新赋值 window: false, define: true, bbo: false, jest: false }, rules: { - // 强制使用一致的缩进 indent: [ 'error', 2, { - // case 子句将相对于 switch 语句缩进 2 个空格 SwitchCase: 1, - // 三元表达式内的三元表达式不能有缩进 flatTernaryExpressions: true } ], - // 不强制使用一致的分号 semi: 0, - // 限制圈复杂度不超过 30 complexity: [ 'error', { diff --git a/LICENSE b/LICENSE index 4c9264e..99a9520 100755 --- a/LICENSE +++ b/LICENSE @@ -1,6 +1,6 @@ MIT License -Copyright (c)2013 - 2020 halldwang +Copyright (c)2013 - 2021 halldwang Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal