eslint-config-imweb
Version:
IMWeb团队eslint配置规则
129 lines (60 loc) • 9.01 kB
Markdown
# ChangeLog (imweb/eslint-config-imweb)
## [2020-09-25, Version ver1.0.4](http://git.code.oa.com/imweb/eslint-config-imweb/-/tags/ver1.0.4)
### Features
- [[```aa3bed44```](http://git.code.oa.com/imweb/eslint-config-imweb/commit/aa3bed440738d202bc5bcf54dfbd917e98f4c34d)] __-__ __new__: 规则调整如下: no-shadow: warn no-script-url: off 替换为 react/jsx-no-script-url: [error, [{name:Link,props:[to]},{name:Foo,props:[href,to]]] jsx-a11y/media-has-caption: off prefer-destructuring: AssignmentExpression: {array:false, object:false} @typescript-eslint/no-use-before-define: {enums:false;functions:false} (nerotan)
## [2020-09-18, Version ver1.0.3](http://git.code.oa.com/imweb/eslint-config-imweb/-/tags/ver1.0.3)
### Features
- [[```f0d0f0a7```](http://git.code.oa.com/imweb/eslint-config-imweb/commit/f0d0f0a7e6641ed515ba2750f6c1a997adde5031)] __-__ __new__: update version (nerotan)
- [[```b3386f94```](http://git.code.oa.com/imweb/eslint-config-imweb/commit/b3386f940fb9a9c4dcefc5ff9a960606b7a267a6)] __-__ __rules__: 修改规则如下: camelcase: ['error', { properties: 'never', ignoreDestructuring: false, allow: ['^UNSAFE_'] }], 'max-len': [ 'error', { code: 120, ignoreStrings: true, ignoreUrls: true, ignoreRegExpLiterals: true, ignoreTemplateLiterals: true, ignoreComments: true, }, ], '@typescript-eslint/camelcase': 'off' (nerotan)
- [[```ce9de295```](http://git.code.oa.com/imweb/eslint-config-imweb/commit/ce9de29512f22d60368e17851712a8e75787c6a2)] __-__ __CHANGELOG__: 修改CHANGELOG (nerotan)
## [2020-09-15, Version ver1.0.2](http://git.code.oa.com/imweb/eslint-config-imweb/-/tags/ver1.0.2)
### Features
- [[```19da15df```](http://git.code.oa.com/imweb/eslint-config-imweb/commit/19da15df27bfee829935c5abb44d91f6dfa1b261)] __-__ __rules__: 规则调整如下: 'no-await-in-loop': 'off', 'no-async-promise-executor': 'warn', 'import/first': 'off', '@typescript-eslint/no-var-requires': 'warn', '@typescript-eslint/no-require-imports': 'warn' (nerotan)
- [[```0b2c899e```](http://git.code.oa.com/imweb/eslint-config-imweb/commit/0b2c899e84e98543c6b191cdaaac572a4eccff1b)] __-__ __orange-ci__: 调整Changelog & orange-ci 配置 (nerotan)
## [2020-09-11, Version v1.0.4](http://git.code.oa.com/imweb/eslint-config-imweb/-/tags/v1.0.4)
### Features
- [[```81a2c51e```](http://git.code.oa.com/imweb/eslint-config-imweb/commit/81a2c51ecce293c2cec8cb259c7006eb9d903309)] __-__ __orange__: add robot hook (nerotan)
## [2020-09-11, Version v1.0.3](http://git.code.oa.com/imweb/eslint-config-imweb/-/tags/v1.0.3)
### Features
- [[```8c02c1af```](http://git.code.oa.com/imweb/eslint-config-imweb/commit/8c02c1afd819e0770f2c288528a6559ad63e10c8)] __-__ __orange__: add robot hook (nerotan)
## [2020-09-11, Version v1.0.2](http://git.code.oa.com/imweb/eslint-config-imweb/-/tags/v1.0.2)
### Features
- [[```35589fc7```](http://git.code.oa.com/imweb/eslint-config-imweb/commit/35589fc7b736f26d1b9219377d76456d45fe731e)] __-__ __orange__: add robot (nerotan)
- [[```4bc5cc47```](http://git.code.oa.com/imweb/eslint-config-imweb/commit/4bc5cc4718a3bf216a56c2184ca4b302364552ca)] __-__ __Readme__: update README.md (nerotan)
- [[```30cefaab```](http://git.code.oa.com/imweb/eslint-config-imweb/commit/30cefaabdfa9329e61f7f4b8205220f2282ac24b)] __-__ __Readme__: update README.md (nerotan)
## [2020-09-04, Version v1.0.1](http://git.code.oa.com/imweb/eslint-config-imweb/-/tags/v1.0.1)
### Features
- [[```a6783fc3```](http://git.code.oa.com/imweb/eslint-config-imweb/commit/a6783fc3f112e9c333bc22ad5f8c832105baf464)] __-__ __member__: off @typescript-eslint/explicit-member-accessibility rule (nerotan)
- [[```073e877a```](http://git.code.oa.com/imweb/eslint-config-imweb/commit/073e877a767275ec54e970eecc8acb11a722ff5a)] __-__ __new__: beta 7 ver (nerotan)
- [[```72233dfc```](http://git.code.oa.com/imweb/eslint-config-imweb/commit/72233dfc27322c13c9b327548d8a6539022ed1de)] __-__ __new__: beta 6 ver (nerotan)
- [[```ee2ef17e```](http://git.code.oa.com/imweb/eslint-config-imweb/commit/ee2ef17e9ce280bb80002f25defa1ab84d31bdfc)] __-__ __new__: beta 5 ver (nerotan)
- [[```f0f5f79c```](http://git.code.oa.com/imweb/eslint-config-imweb/commit/f0f5f79c35935a4287e510c13903927895b252ea)] __-__ __new__: beta 4 ver (nerotan)
- [[```81935fdc```](http://git.code.oa.com/imweb/eslint-config-imweb/commit/81935fdcca70c6641927ca732b0d1bf28becf632)] __-__ __new__: beta 3 ver (nerotan)
- [[```aa5fdb60```](http://git.code.oa.com/imweb/eslint-config-imweb/commit/aa5fdb60f948f1813bf026988e1a18f70e71d3fd)] __-__ __new__: add babel-eslint peerDependence (nerotan)
- [[```e11bc60e```](http://git.code.oa.com/imweb/eslint-config-imweb/commit/e11bc60e21b51132dba2392fae6bf0d728370d65)] __-__ __new__: changelog test (nerotan)
- [[```ebdc1789```](http://git.code.oa.com/imweb/eslint-config-imweb/commit/ebdc17896fc1cff5587b14dc7d7c4df3376bba6a)] __-__ __new__: changelog test (nerotan)
- [[```fa3243c1```](http://git.code.oa.com/imweb/eslint-config-imweb/commit/fa3243c13b777a99d1246401fcd6bce6be9a26f4)] __-__ __new__: change branch name (nerotan)
- [[```c7838054```](http://git.code.oa.com/imweb/eslint-config-imweb/commit/c7838054b423424a8ca02d8dd76295ff5e593b79)] __-__ __new__: add lint:fix script (nerotan)
- [[```6ac8433b```](http://git.code.oa.com/imweb/eslint-config-imweb/commit/6ac8433b077f49db4e34fa541217ff4e72e252df)] __-__ __new__: update version (nerotan)
- [[```3d5c90eb```](http://git.code.oa.com/imweb/eslint-config-imweb/commit/3d5c90eb04e531ba63d061cad576b51c8d8e17de)] __-__ __new__: add oci & changelog (nerotan)
- [[```ac52812e```](http://git.code.oa.com/imweb/eslint-config-imweb/commit/ac52812e1cebda358e4c17730fc18e001c9f02c1)] __-__ __new__: change dependence to peerDependence (nerotan)
- [[```4e02d9c4```](http://git.code.oa.com/imweb/eslint-config-imweb/commit/4e02d9c4b333585cc0f7c8eeb870344d85571925)] __-__ __new__: update eslint version (nerotan)
- [[```f76b6353```](http://git.code.oa.com/imweb/eslint-config-imweb/commit/f76b6353776cda5fbc1804f5b4b254b231639674)] __-__ __new__: version 1.0 final (nerotan)
- [[```79c704d3```](http://git.code.oa.com/imweb/eslint-config-imweb/commit/79c704d3964c0c412cc58776babda91ec998611d)] __-__ __new__: update version (nerotan)
- [[```948ae8c6```](http://git.code.oa.com/imweb/eslint-config-imweb/commit/948ae8c63883f7fa2e3862a1a1352d0edeb731a4)] __-__ __new__: update README.md (nerotan)
- [[```7bd118e5```](http://git.code.oa.com/imweb/eslint-config-imweb/commit/7bd118e5e3b57d1d47536ba71bc6facb76ec467c)] __-__ __new__: 拆分ts规则,支持单独引入 (nerotan)
- [[```07e2d3a7```](http://git.code.oa.com/imweb/eslint-config-imweb/commit/07e2d3a72fb23eee72b650152bc7704c9d72c31d)] __-__ __new__: off import/extensions rule (nerotan)
- [[```656156fc```](http://git.code.oa.com/imweb/eslint-config-imweb/commit/656156fc2c369edbaa01ce5254b92a4649394248)] __-__ __new__: off import/extensions rule (nerotan)
- [[```ba6eb775```](http://git.code.oa.com/imweb/eslint-config-imweb/commit/ba6eb7751ffe01f85658c6ddf54cd68f2372cd72)] __-__ __new__: adjust controversial rules (nerotan)
- [[```04276a96```](http://git.code.oa.com/imweb/eslint-config-imweb/commit/04276a962e846dd686695b2ec3b23566c7b02f19)] __-__ __new__: delete useless plugin (nerotan)
- [[```39baa93b```](http://git.code.oa.com/imweb/eslint-config-imweb/commit/39baa93b24e791554d535232c481da72bf77d254)] __-__ __new__: update README.md (nerotan)
- [[```a9d59d1b```](http://git.code.oa.com/imweb/eslint-config-imweb/commit/a9d59d1ba748107adc6ea632a0e2765f0bec5160)] __-__ __new__: change indent rule (nerotan)
- [[```4f7414c3```](http://git.code.oa.com/imweb/eslint-config-imweb/commit/4f7414c32f2bd2f1f148007b4694a9628ef349a7)] __-__ __new__: add prefer-const rule (nerotan)
- [[```8ab918eb```](http://git.code.oa.com/imweb/eslint-config-imweb/commit/8ab918ebca79eb469fcf408f270414ea1a4fb30b)] __-__ __new__: add prefer-const rule (nerotan)
- [[```b27e90bd```](http://git.code.oa.com/imweb/eslint-config-imweb/commit/b27e90bd91a531ae2d22131c6b9974943335478e)] __-__ __new__: update eslint config (nerotan)
## [2020-08-10, Version 1.0.0-beta.1](http://git.code.oa.com/imweb/eslint-config-imweb/-/tags/1.0.0-beta.1)
### Features
- [[```ed2270f9```](http://git.code.oa.com/imweb/eslint-config-imweb/commit/ed2270f992dcc941f207c7ebd4ca692f51b4fc0e)] __-__ 去掉no-underscore-dangle (avenwu(吴文斌))
- [[```6efa486e```](http://git.code.oa.com/imweb/eslint-config-imweb/commit/6efa486e137cd604104b7f8a3e5869207055d5fc)] __-__ Off class-methods-use-this (avenwu(吴文斌))
### Docs
- [[```b287ae8e```](http://git.code.oa.com/imweb/eslint-config-imweb/commit/b287ae8e743959818829ea53e7d7971eb440e853)] __-__ README (avenwu(吴文斌))