mirror of
https://github.com/invoke-ai/InvokeAI
synced 2024-08-30 20:32:17 +00:00
d81088dff7
fix(ui): remove old scrollbar css fix(ui): make guidepopover lazy feat(ui): wip resizable drawer feat(ui): wip resizable drawer feat(ui): add scroll-linked shadow feat(ui): organize files Align Scrollbar next to content Move resizable drawer underneath the progress bar Add InvokeLogo to unpinned & align Adds Invoke Logo to Unpinned Parameters panel and aligns to make it feel seamless.
46 lines
1.1 KiB
JavaScript
46 lines
1.1 KiB
JavaScript
module.exports = {
|
|
env: {
|
|
browser: true,
|
|
es6: true,
|
|
node: true,
|
|
},
|
|
extends: [
|
|
'eslint:recommended',
|
|
'plugin:@typescript-eslint/recommended',
|
|
'plugin:react/recommended',
|
|
'plugin:react-hooks/recommended',
|
|
'plugin:prettier/recommended',
|
|
'plugin:react/jsx-runtime',
|
|
],
|
|
parser: '@typescript-eslint/parser',
|
|
parserOptions: {
|
|
ecmaFeatures: {
|
|
jsx: true,
|
|
},
|
|
ecmaVersion: 2018,
|
|
sourceType: 'module',
|
|
},
|
|
plugins: ['react', '@typescript-eslint', 'eslint-plugin-react-hooks'],
|
|
root: true,
|
|
rules: {
|
|
'react-hooks/exhaustive-deps': 'error',
|
|
'no-var': 'error',
|
|
'brace-style': 'error',
|
|
'prefer-template': 'error',
|
|
radix: 'error',
|
|
'space-before-blocks': 'error',
|
|
'import/prefer-default-export': 'off',
|
|
'@typescript-eslint/no-unused-vars': [
|
|
'warn',
|
|
{ varsIgnorePattern: '^_', argsIgnorePattern: '^_' },
|
|
],
|
|
'prettier/prettier': ['error', { endOfLine: 'auto' }],
|
|
'@typescript-eslint/ban-ts-comment': 'warn',
|
|
},
|
|
settings: {
|
|
react: {
|
|
version: 'detect',
|
|
},
|
|
},
|
|
};
|