Skip to content

Commit 614585b

Browse files
committed
refactor: ESLInt config to respect the corrected format and rules
1 parent 5787353 commit 614585b

1 file changed

Lines changed: 8 additions & 1 deletion

File tree

eslint.common.config.js

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,15 @@ export default [{
1313
"**/docs/",
1414
"**/jsdocs/",
1515
],
16-
}, js.configs.recommended, google, ava.configs["flat/recommended"], {
16+
}, {
17+
files: ["**/*.js", "**/*.mjs", "**/*.cjs"],
18+
...js.configs.recommended,
19+
}, {
20+
files: ["**/*.js", "**/*.mjs", "**/*.cjs"],
21+
...google,
22+
}, ...ava.configs.recommended, {
1723
name: "Common ESLint config used for all UI5 CLI repos",
24+
files: ["**/*.js", "**/*.mjs", "**/*.cjs"],
1825

1926
plugins: {
2027
jsdoc,

0 commit comments

Comments
 (0)