eslint: Move file config to eslint section

This commit is contained in:
Holger Jeromin 2025-02-11 11:08:33 +01:00
parent a3ef47b82d
commit 0043cd6b9a

View file

@ -1,5 +1,3 @@
/* eslint sort-keys: ["error", "asc", {minKeys: 5}] */
const globals = require("globals");
const js = require("@eslint/js");
const erb = require("eslint-plugin-erb");
@ -171,6 +169,9 @@ module.exports = [
globals: {
...globals.commonjs
}
},
rules: {
"sort-keys": ["error", "asc", { minKeys: 5 }]
}
}
];