the-forest/client/node_modules/eslint-plugin-react/configs/jsx-runtime.js

14 lines
328 B
JavaScript
Raw Normal View History

2024-09-17 20:35:18 -04:00
'use strict';
const plugin = require('..');
const legacyConfig = plugin.configs['jsx-runtime'];
module.exports = {
plugins: { react: plugin },
rules: legacyConfig.rules,
languageOptions: { parserOptions: legacyConfig.parserOptions },
};
Object.defineProperty(module.exports, 'languageOptions', { enumerable: false });