Commit Graph

67 Commits

Author SHA1 Message Date
Amumu
5903f40724
chore: lock eslint-plugin-react (#34214)
* Revert "test: disabled react/jsx-key"

This reverts commit 7d64967d63.

* chore: lock eslint-plugin-react@7.28.0
2022-02-25 19:28:54 +08:00
afc163
7d64967d63 test: disabled react/jsx-key 2022-02-25 18:27:44 +08:00
dependabot[bot]
20d5502193
chore(deps-dev): bump eslint-config-airbnb from 18.2.1 to 19.0.0 (#32824)
* chore(deps-dev): bump eslint-config-airbnb from 18.2.1 to 19.0.0

Bumps [eslint-config-airbnb](https://github.com/airbnb/javascript) from 18.2.1 to 19.0.0.
- [Release notes](https://github.com/airbnb/javascript/releases)
- [Commits](https://github.com/airbnb/javascript/compare/eslint-config-airbnb-v18.2.1...eslint-config-airbnb-v19.0.0)

---
updated-dependencies:
- dependency-name: eslint-config-airbnb
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

* fix lint

* fix lint

* fix lint

* fix lint

* fix lint

* fix lint

* fix lint

* fix lint

* fix lint

* chore: code style

* memoize-one

* add comment

* fix lint

* fix lint

* fix lint

* fix lint

* fix lint

* fix lint

* fix lint

* fix lint

* fix lint

* improve useMemo deps

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: afc163 <afc163@gmail.com>
2021-11-26 12:18:21 +08:00
renovate[bot]
14fa342da3
chore(deps): update dependency eslint to v8 (#32501)
* chore(deps): update dependency eslint to v8

* fix eslint errors

* fix eslint errors

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: afc163 <afc163@gmail.com>
2021-10-15 11:19:14 +08:00
二货机器人
282b7c8575
feat: Cascader support multiple mode (#31936)
* chore: Update cascader version

* chore: replace cascader

* chore: default allowClear

* chore: Update docs

* test: Back of part

* test: More snapshot

* test: more and more

* test: Failed of defaultValue

* test: all basic test case

* test: All snapshot

* chore: Update cascader

* chore: disable react/jsx-no-bind

* chore: fix lint

* chore: fix less order

* chore: fix deps

* docs: Update multiple demo

* docs: Add multiple example

* test: Update snapshot

* test: update snapshot
2021-08-31 15:51:02 +08:00
Amumu
98ba4038c1
chore: add eslint-plugin-compat (#29885)
* chore: dd eslint-plugin-compat

* update browserslist

* update browserslist

* fix lint: lint:demo rules

* update @ant-design/tools
2021-03-25 15:01:13 +08:00
afc163
76434a15df
chore(🆙): upgrade devDeps (#29418)
* chore(🆙): upgrade devDeps

* prettier code

* fix dnd demo

* fix react-dnd demo

* fix npm start and demo tsx compile

* fix snapshot
2021-02-23 10:45:11 +08:00
偏右
5098ca8b60
chore: upgrade @ant-design/tools (#28583)
* chore: upgrade @ant-design/tools

* Update package.json

* upgrade eslint-plugin-unicorn

* upgrade eslint-plugin-unicorn
2020-12-29 12:18:06 +08:00
偏右
481fd209e2
chore: 🆙 upgrade typescript-eslint (#26600)
* chore: 🆙 upgrade typescript-eslint

* fix some lint

* fix: some eslint errors

* Update package.json

* chore: 🆙 upgrade typescript-eslint

* fix some lint

* fix: some eslint errors

* Update package.json

* fix no use before define

* Update package.json

* fix lint

Co-authored-by: yoyo837 <yoyo837@hotmail.com>
Co-authored-by: Tom Xu <ycxzhkx@gmail.com>
2020-09-16 11:43:55 +08:00
afc163
0de1358924 test: fix eslint jest rules 2020-09-15 11:54:47 +08:00
07akioni
fbc10c4f0b
fix: ci lint error (#25828) 2020-07-27 15:21:16 +08:00
afc163
88f7de7090 fix eslint 2020-06-29 10:45:50 +08:00
偏右
637aa09bc5
chore: fix some eslint problems (#24836)
* 💄 fix lint

* 💄 fix lint
2020-06-08 18:01:50 +08:00
Eric Wang
64cb9584ce
fix: include tests in type check (#23452)
* fix: include tests in type check

* Do lint *.md

* Improve types in tests
2020-04-22 13:37:23 +08:00
Eric Wang
9a43e439b3
chore: Use override instead of env to control eslint on markdown (#23454) 2020-04-21 23:21:56 +08:00
偏右
b369717181
chore: 🦄 Add eslint-plugin-unicorn (#22883)
* 🦄 Add eslint-plugin-unicorn

* fix eslint errors

* fix eslint errors

* fix lint demo

* fix lint demo
2020-04-03 15:02:11 +08:00
骗你是小猫咪
f259be818c
chore: add react-hook eslint plugin (#22368) 2020-03-19 11:12:58 +08:00
二货机器人
3080611883
feat: Notification support hooks for context (#21275)
* use promise for getInstance

* passing hooks

* hooks support

* move hooks out of fiel

* adjust style

* update snapshot

* fix test & add test case

* update hooks test

* fix style lint

* update doc

* update demo desc & eslitn rules

* fix lint

* docs add faq

* fix less
2020-02-07 17:55:26 +08:00
zombiej
c96186d13b clean up eslintrc 2019-12-25 20:25:10 +08:00
zombiej
9e8ce489e9 merge master 2019-12-25 19:09:17 +08:00
xiaohuoni
b97e9cb6d4 import/extensions:0 2019-12-17 17:37:26 +08:00
二货机器人
407a41a142
feat: New Picker (#20023)
* init generate

* basic style

* basic panel style

* update mode panel style

* update style

* generate More picker

* default clear icon

* chore: Update separator type

* feat: Add ranged start & end className

* update range style

* Add transition effect

* support size config

* adjust range style

* chore: Auto fill time by showTime

* auto set time by format

* update disabled style

* update seperator style

* ranges style

* support extra footer style

* remove useless test case
part is not usable anymore
part is already tested in rc-picker

* init calendar

* all demos

* fix calendar basic test

* fix time-picker test case

* update snapshot

* fix tooltip test case & lint

* fix locale & style lint

* fix compile

* fix style

* fix style lint

* fix calendar style

* update rc-picker version

* adjust style

* move picker placeholder into locale file

* update snapshot

* add hover style

* update picker version

* fix icon position & style

* update picker version

* update deps for pading

* fix: align of suffix

* feat: Year & Month support range effect

* adjust range style to support up-down placement

* update rc-picker

* update range picker style

* adjust extra footer line style

* update snapshot

* fix: Locale error

* fix: style lint

* fix: add missing button style deps

* update test case

* fix firefox additional white line style issue

* rollback demo

* fix ff additional blue color

* docs: Remove placeholder in demo

* rangepicker ranges is tag now

* connect start / end background color with picker range

* update deps

* update deps for fixing blur text issue

* hide start-end demo

* range hover style update

* hover range with ranged value

* black magic of inner hover style

* hover style of range adjust

* fix css select miss hit on DatePicker

* remove one eslint rule

* fade range hovered color

* week should alway not show the cell selection

* update style of selection

* update snapshot

* fix style

* add margin back

* update rc-picker deps

* update date & time picker & form style

* fix disabled demo & update form style

* update docs about allowEmpty

* hide arrow in time range picker

* add hover & focused style

* fix lint

* fix style & update snapshot

* raise disabled selector proirity

* fix disabled today border color

* extra footer provides an bottom line

* time picker hover support transition background

* add padding style

* fix Firefox not correct calculate inline-flex

* fix style

* fix week picker missing today border color

* rm useless padding

* Force padding to 0

* test coverage

* dedup eslint rule

* adjust logic to imporve coverage

* fix render cell logic
2019-12-11 23:32:19 +08:00
xiaohuoni
d0d521fc63 import/extensions:0 2019-12-10 15:04:11 +08:00
damon.chen
cba968f9dc chore: fix RangePicker value and onChange definition (#20015) 2019-12-02 17:22:06 +08:00
afc163
c083d13fc4 fix test cases 2019-11-05 01:59:14 +08:00
afc163
47dee4c7d7 fix eslint problems 2019-10-05 18:02:16 +08:00
afc163
67cebf6da6 💄 fix eslint error 2019-08-28 12:03:26 +08:00
LaySent
be5760d8ef fix: eslint issue of gtag not defined (#18517) 2019-08-28 12:01:38 +08:00
afc163
760853e239 💄 eslint for all 2019-08-14 18:21:24 +08:00
afc163
d07b298ae4 Fix eslint errors 2019-08-12 19:04:31 +08:00
afc163
2bddeef1e5 🆙 upgrade eslint-config-airbnb 2019-08-12 19:04:30 +08:00
orzyyyy
44d110c0db feat: add extend from prettier/react 2019-08-06 15:36:13 +08:00
orzyyyy
63b33d4020 fix: unexpected changes of snapshots 2019-08-06 15:36:12 +08:00
orzyyyy
3bfebcaf11 fix: specify version of react for warning 2019-08-06 15:31:59 +08:00
orzyyyy
ce124a36f8 perf: check typescript with eslint 2019-08-06 15:31:59 +08:00
afc163
b780070351
💄 prittier all files 2019-05-07 14:57:32 +08:00
偏右
ad99b4322d test: Add eslint-plugin-jest (#15825) 2019-04-03 15:54:26 +08:00
陈帅
dca9715186 support prettier 2018-12-07 18:27:30 +08:00
afc163
83c192ea3e
💄 fix eslint problems 2018-11-28 15:11:02 +08:00
afc163
009ed08580 upgrade eslint-config-airbnb 2018-06-27 16:09:58 +08:00
afc163
9f16d066af Fix lint problems from eslint-config-airbnb@17 2018-06-22 21:05:13 +08:00
afc163
3612144c6d site: avoid hash jump in demo 2018-04-11 15:15:24 +08:00
Benjy Cui
9d7d70becd docs: should not use ref for wrapped form, close: #9598 (#9685) 2018-03-15 14:40:47 +08:00
afc163
475e4ff23d upgrade eslint-config-airbnb 2017-10-09 13:27:35 +08:00
afc163
0f46eed370 fix lint 2017-02-23 11:45:48 +08:00
afc163
d7694d4c3b prefer es6 class code in demo 2017-02-20 21:21:54 +08:00
Wei Zhu
85086f14b6 Using a special static property for type detecting (#4673)
Related issue: #4655
2017-01-27 17:08:05 +08:00
Benjy Cui
36a4304de4 style: update code style for test case 2016-12-08 11:08:13 +08:00
afc163
6c16d738ee upgrade deps and fix lints 2016-11-07 15:55:14 +08:00
afc163
743f3a0dfe remove eslint warning 2016-09-29 14:22:27 +08:00