forked from WordPress/wordpress-develop
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy patheslint.config.js
More file actions
38 lines (36 loc) · 834 Bytes
/
Copy patheslint.config.js
File metadata and controls
38 lines (36 loc) · 834 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
34
35
36
37
38
/**
* ESLint v10 flat config entry point.
*
* This minimal config focuses only on JSDoc linting by importing
* the configuration from .eslintrc-jsdoc.js.
*
* General JavaScript linting is not performed here.
*/
const jsdocConfig = require( './.eslintrc-jsdoc.js' );
module.exports = [
...jsdocConfig,
{
ignores: [
'build/**',
'**/build/**',
'node_modules/**',
'tests/**',
'vendor/**',
'tools/**',
'jsdoc/**',
'artifacts/**',
'coverage/**',
'.cache/**',
'src/wp-includes/blocks/**/*.js',
'src/wp-includes/blocks/**/*.js.map',
'src/wp-content/themes/**',
'src/wp-content/plugins/**',
'src/wp-content/mu-plugins/**',
'src/wp-content/upgrade/**',
'src/wp-content/uploads/**',
'src/js/_enqueues/vendor/**',
'src/wp-admin/js/**',
'src/wp-includes/js/**',
],
},
];