14 lines
325 B
JavaScript
14 lines
325 B
JavaScript
'use strict';
|
|
|
|
const plugin = require('..');
|
|
|
|
const legacyConfig = plugin.configs.recommended;
|
|
|
|
module.exports = {
|
|
plugins: { react: plugin },
|
|
rules: legacyConfig.rules,
|
|
languageOptions: { parserOptions: legacyConfig.parserOptions },
|
|
};
|
|
|
|
Object.defineProperty(module.exports, 'languageOptions', { enumerable: false });
|