theatre/theatre/.eslintrc.js
2021-06-18 13:05:06 +02:00

22 lines
486 B
JavaScript

const path = require('path')
module.exports = {
rules: {
'no-relative-imports': [
'warn',
{
aliases: [
{name: '@theatre/core', path: path.resolve(__dirname, './core/src')},
{
name: '@theatre/shared',
path: path.resolve(__dirname, './shared/src'),
},
{
name: '@theatre/studio',
path: path.resolve(__dirname, './studio/src'),
},
],
},
],
},
}