jsx-runtime.js 546 B

123456789101112131415161718
  1. 'use strict';
  2. const all = require('./all');
  3. module.exports = Object.assign({}, all, {
  4. languageOptions: Object.assign({}, all.languageOptions, {
  5. parserOptions: Object.assign({}, all.languageOptions.parserOptions, {
  6. jsxPragma: null, // for @typescript/eslint-parser
  7. }),
  8. }),
  9. rules: {
  10. 'react/react-in-jsx-scope': 0,
  11. 'react/jsx-uses-react': 0,
  12. },
  13. });
  14. // this is so the `languageOptions` property won't be warned in the new config system
  15. Object.defineProperty(module.exports, 'languageOptions', { enumerable: false });