/
drndsv
/
react
Обзор
Документация
Войти
/
drndsv
/
react
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
CI/CD
Аналитика
Безопасность
master
node_modules/eslint-plugin-react/configs/jsx-runtime.js
18 строк
546 B
drndsv
Initial commit
14 апр 2025, 22:53
14 апр 2025, 22:53
641ac8a
Код
Авторство
О чём код?
'use strict'; const all = require('./all'); module.exports = Object.assign({}, all, { languageOptions: Object.assign({}, all.languageOptions, { parserOptions: Object.assign({}, all.languageOptions.parserOptions, { jsxPragma: null, // for @typescript/eslint-parser }), }), rules: { 'react/react-in-jsx-scope': 0, 'react/jsx-uses-react': 0, }, }); // this is so the `languageOptions` property won't be warned in the new config system Object.defineProperty(module.exports, 'languageOptions', { enumerable: false });