2024-08-26 20:21:46 +02:00
|
|
|
const { resolve } = require('node:path')
|
2024-07-04 21:46:29 -07:00
|
|
|
|
2024-08-26 20:21:46 +02:00
|
|
|
const project = resolve(process.cwd(), 'tsconfig.json')
|
2024-07-04 21:46:29 -07:00
|
|
|
|
|
|
|
|
module.exports = {
|
|
|
|
|
extends: [
|
2024-07-09 15:17:38 -07:00
|
|
|
'eslint:recommended',
|
|
|
|
|
'plugin:@typescript-eslint/recommended',
|
|
|
|
|
'plugin:prettier/recommended',
|
|
|
|
|
'prettier',
|
|
|
|
|
'plugin:import/recommended',
|
|
|
|
|
'plugin:import/typescript',
|
|
|
|
|
'turbo',
|
|
|
|
|
],
|
2024-07-04 21:46:29 -07:00
|
|
|
globals: {
|
|
|
|
|
React: true,
|
|
|
|
|
JSX: true,
|
|
|
|
|
},
|
|
|
|
|
settings: {
|
2024-08-26 20:21:46 +02:00
|
|
|
'import/resolver': {
|
2024-07-04 21:46:29 -07:00
|
|
|
typescript: {
|
|
|
|
|
project,
|
|
|
|
|
},
|
|
|
|
|
},
|
|
|
|
|
},
|
2024-08-26 20:21:46 +02:00
|
|
|
ignorePatterns: ['node_modules/', 'dist/'],
|
|
|
|
|
}
|