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