Closed
Description
After adding the
rules: { allowTypedFunctionExpressions: true }
for the alpha release (#149), I still see them as warnings
Repro
Code repo: https://github.com/saranshkataria/frontend-starter-kit
{
rules: {
allowTypedFunctionExpressions: true,
}
}
import React from 'react';
import { hot } from 'react-hot-loader/root';
const App: React.FunctionComponent<{}> = () => <div>Hello World</div>;
App.displayName = 'App';
export default hot(App);
Expected Result
No warnings
Actual Result
Get warnings
Additional Info
Versions
package | version |
---|---|
@typescript-eslint/eslint-plugin |
1.5.1-alpha.5 |
@typescript-eslint/parser |
1.5.1-alpha.5 |
TypeScript |
3.3.4000 |
ESLint |
5.15.3 |
node |
8.15.0 |
npm |
6.4.1 |