diff --git a/.eslintrc.js b/.eslintrc.js index 2441c77348e49..edf84561498b6 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -119,7 +119,7 @@ module.exports = { }, { name: 'antd', - importNames: ['Card', 'Col', 'Row', 'Alert', 'Tooltip'], + importNames: ['Card', 'Col', 'Row', 'Alert', 'Tooltip', 'Progress'], message: 'please use the Lemon equivalent instead', }, ], @@ -169,6 +169,10 @@ module.exports = { element: 'LemonButtonWithDropdown', message: 'use with a child instead', }, + { + element: 'Progress', + message: 'use instead', + }, ], }, ], @@ -204,6 +208,10 @@ module.exports = { element: 'Collapse', message: 'use instead', }, + { + element: 'Slider', + message: 'use instead', + }, { element: 'Checkbox', message: 'use instead', @@ -245,6 +253,7 @@ module.exports = { 'no-constant-condition': 'off', 'no-prototype-builtins': 'off', 'no-irregular-whitespace': 'off', + 'no-useless-rename': 'error', 'import/no-restricted-paths': [ 'error', { diff --git a/.run/Celery.run.xml b/.run/Celery.run.xml index 9c1dd88226146..40853a2208f03 100644 --- a/.run/Celery.run.xml +++ b/.run/Celery.run.xml @@ -19,7 +19,7 @@