2024-04-08 04:43:30 -05:00
|
|
|
module.exports = {
|
|
|
|
root: true,
|
|
|
|
parserOptions: {
|
2024-05-03 06:43:07 -05:00
|
|
|
project: './tsconfig.base.json',
|
2024-04-08 04:43:30 -05:00
|
|
|
parser: '@typescript-eslint/parser',
|
|
|
|
ecmaVersion: 'latest',
|
|
|
|
sourceType: 'module'
|
|
|
|
},
|
|
|
|
env: { browser: true, node: true },
|
|
|
|
extends: [
|
|
|
|
'eslint:recommended',
|
|
|
|
'plugin:react/recommended',
|
|
|
|
'plugin:react/jsx-runtime',
|
|
|
|
'plugin:@typescript-eslint/recommended',
|
|
|
|
'plugin:prettier/recommended',
|
|
|
|
'plugin:@figma/figma-plugins/recommended'
|
|
|
|
],
|
|
|
|
settings: {
|
|
|
|
react: {
|
|
|
|
version: 'detect'
|
|
|
|
}
|
2024-04-15 06:36:37 -05:00
|
|
|
},
|
|
|
|
rules: {
|
2024-05-07 05:18:15 -05:00
|
|
|
'@typescript-eslint/no-unused-vars': [
|
|
|
|
'error',
|
2024-06-26 01:11:57 -05:00
|
|
|
{
|
|
|
|
ignoreRestSiblings: true,
|
|
|
|
argsIgnorePattern: '^_',
|
|
|
|
destructuredArrayIgnorePattern: '^_'
|
|
|
|
}
|
2024-05-07 05:18:15 -05:00
|
|
|
]
|
2024-04-08 04:43:30 -05:00
|
|
|
}
|
|
|
|
};
|