mirror of
https://github.com/apache/superset.git
synced 2026-04-07 10:31:50 +00:00
build: add react-hooks linting (#11006)
Fixed a couple of criticle errors and left the warnings as is (mostly from react-hooks/exhaustive-deps). Let's fix the warnings in future PRs as sometimes unexhaustive deps are intentional.
This commit is contained in:
@@ -17,7 +17,12 @@
|
||||
* under the License.
|
||||
*/
|
||||
module.exports = {
|
||||
extends: ['airbnb', 'prettier', 'prettier/react'],
|
||||
extends: [
|
||||
'airbnb',
|
||||
'prettier',
|
||||
'prettier/react',
|
||||
'plugin:react-hooks/recommended',
|
||||
],
|
||||
parser: 'babel-eslint',
|
||||
parserOptions: {
|
||||
ecmaFeatures: {
|
||||
|
||||
Reference in New Issue
Block a user