UNPKG

@react-native/eslint-plugin-specs

Version:
27 lines (22 loc) 583 B
/** * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * * @format */ 'use strict'; const ESLintTester = require('eslint').RuleTester; ESLintTester.setDefaultConfig({ parser: require.resolve('hermes-eslint'), parserOptions: { requireConfigFile: false, ecmaVersion: 6, sourceType: 'module', babelOptions: { presets: [require.resolve('babel-plugin-syntax-hermes-parser')], }, }, }); module.exports = ESLintTester;