mirror of
https://github.com/wassname/react-webpack-template.git
synced 2026-09-12 12:51:19 +08:00
Added jsx-uses-react flag in eslint to prevent false positives about react included but not used in components.
This commit is contained in:
@@ -23,6 +23,7 @@
|
|||||||
"no-unused-vars": 1,
|
"no-unused-vars": 1,
|
||||||
"no-trailing-spaces": [1, { "skipBlankLines": true }],
|
"no-trailing-spaces": [1, { "skipBlankLines": true }],
|
||||||
"no-unreachable": 1,
|
"no-unreachable": 1,
|
||||||
"no-alert": 0
|
"no-alert": 0,
|
||||||
|
"react/jsx-uses-react": 1
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user