redux-devtools/packages/react-json-tree/.eslintrc.js
Nathan Bierema 40ac89aff9
feature(react-json-tree): convert react-json-tree to TypeScript (#601)
* eslint base

* stash

* setup

* stash

* stash

* Add jest.config.js

* caught
2020-08-21 20:13:24 -04:00

30 lines
711 B
JavaScript

module.exports = {
extends: '../../.eslintrc',
overrides: [
{
files: ['*.ts', '*.tsx'],
extends: '../../eslintrc.ts.react.base.json',
parserOptions: {
tsconfigRootDir: __dirname,
project: ['./tsconfig.json'],
},
},
{
files: ['test/*.ts', 'test/*.tsx'],
extends: '../../eslintrc.ts.react.jest.base.json',
parserOptions: {
tsconfigRootDir: __dirname,
project: ['./test/tsconfig.json'],
},
},
{
files: ['webpack.config.umd.ts'],
extends: '../../eslintrc.ts.base.json',
parserOptions: {
tsconfigRootDir: __dirname,
project: ['./tsconfig.webpack.json'],
},
},
],
};