@react-native/eslint-plugin-specs
Version:
ESLint rules to validate NativeModule and Component Specs
24 lines (20 loc) • 491 B
JavaScript
/**
* Copyright (c) Meta Platforms, Inc. and affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*
* @format
* @noflow
*/
;
const reactNativeModules = require('./react-native-modules');
module.exports = {
meta: {
name: '@react-native/eslint-plugin-specs',
version: require('./package.json').version,
},
rules: {
'react-native-modules': reactNativeModules,
},
};