eslint-flat-config-airbnb
Version:
A mostly reasonable approach to JavaScript and React using Airbnb's ESLint config, updated for ESLint 9+
19 lines (18 loc) • 476 B
TypeScript
export default reactHooks;
declare namespace reactHooks {
let plugins: {
'react-hooks': typeof reactHooksPlugin;
};
namespace languageOptions {
namespace parserOptions {
namespace ecmaFeatures {
let jsx: boolean;
}
}
}
let rules: {
'react-hooks/rules-of-hooks': string;
'react-hooks/exhaustive-deps': string;
};
}
import reactHooksPlugin from 'eslint-plugin-react-hooks';