-
Notifications
You must be signed in to change notification settings - Fork 11
Expand file tree
/
Copy patheslint.config.js
More file actions
33 lines (31 loc) · 919 Bytes
/
Copy patheslint.config.js
File metadata and controls
33 lines (31 loc) · 919 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
const {defineConfig, globalIgnores} = require('eslint/config'),
xhEslintConfig = require('@xh/eslint-config'),
tsdocEslint = require('eslint-plugin-tsdoc'),
prettier = require('eslint-config-prettier'),
globals = require('globals');
module.exports = defineConfig([
{
plugins: {tsdoc: tsdocEslint},
extends: [xhEslintConfig, prettier],
rules: {
'tsdoc/syntax': 'warn'
}
},
// Repo automation scripts run under Node, not in the browser.
{
files: ['.github/scripts/**/*.mjs', 'scripts/**/*'],
languageOptions: {
globals: globals.node
}
},
globalIgnores([
'build/**/*',
'node_modules/**/*',
'mcp/**/*',
'bin/**/*',
'docs/codemod/**/*',
'docs/planning/**/*',
'kit/golden-layout/impl/**/*',
'public/msal-redirect-bridge.min.js'
])
]);