-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy patheslint.config.js
More file actions
29 lines (27 loc) · 932 Bytes
/
Copy patheslint.config.js
File metadata and controls
29 lines (27 loc) · 932 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
/**
* @file
* @author Tomáš Chochola <chocholatom1997@gmail.com>
* @copyright © 2025 Tomáš Chochola <chocholatom1997@gmail.com>
*
* @license CC-BY-ND-4.0
*
* @see {@link https://creativecommons.org/licenses/by-nd/4.0/} License
* @see {@link https://github.com/tomchochola} GitHub Personal
* @see {@link https://github.com/premierstacks} GitHub Organization
* @see {@link https://github.com/sponsors/tomchochola} GitHub Sponsors
*/
import { EslintStack } from '@premierstacks/eslint-stack';
import globals from 'globals';
// eslint-disable-next-line no-restricted-exports
export default EslintStack.create()
.base()
.globals({
...globals.node,
...globals.es2024,
})
.ignores([...EslintStack.Selectors.GlobalIgnore])
.ignores(['node_modules', 'vendor', '.phpunit.cache', '.phpunit.coverage', '.phpunit.result.cache', '.php-cs-fixer.cache'])
.recommended()
.stylistic()
.sonarjs()
.build();