mirror of
https://github.com/mathuo/dockview
synced 2025-08-30 05:56:32 +00:00
36 lines
1.1 KiB
JavaScript
36 lines
1.1 KiB
JavaScript
module.exports = {
|
|
root: true,
|
|
parserOptions: {
|
|
sourceType: 'module',
|
|
project: [
|
|
'./tsconfig.eslint.json',
|
|
'./packages/*/tsconfig.json',
|
|
'./packages/dockview-vue/tsconfig.app.json'
|
|
],
|
|
tsconfigRootDir: __dirname,
|
|
},
|
|
plugins: ['@typescript-eslint'],
|
|
extends: ['eslint:recommended', 'plugin:@typescript-eslint/recommended'],
|
|
ignorePatterns: [
|
|
'packages/docs/**',
|
|
'**/__tests__/**',
|
|
'**/__mocks__/**',
|
|
'**/*.spec.*',
|
|
'**/*.test.*',
|
|
'dist/',
|
|
'node_modules/',
|
|
'*.scss'
|
|
],
|
|
rules: {
|
|
'no-case-declarations': 'off',
|
|
'@typescript-eslint/no-namespace': 'off',
|
|
'@typescript-eslint/explicit-module-boundary-types': 'off',
|
|
'@typescript-eslint/no-explicit-any': 'warn',
|
|
'@typescript-eslint/no-unused-vars': 'warn',
|
|
'@typescript-eslint/ban-types': 'off',
|
|
'@typescript-eslint/no-non-null-assertion': 'warn',
|
|
'prefer-const': 'warn',
|
|
'@typescript-eslint/no-var-requires': 'error',
|
|
},
|
|
};
|