0
0
Fork 0
mirror of https://github.com/kevinpapst/kimai2.git synced 2025-01-10 11:37:35 +00:00
kevinpapst_kimai2/eslint.config.mjs
Kevin Papst 17a815e5a9
updated frontend builds (#5210)
* do not rely on node_modules path
* bump eslint to v9, run eslint via npm task, remove from build task
* loosen dependencies and update all packages
* rebuild assets with latest frontend packages
* bump webpack encore and dependencies
* bump to latest stable yarn
* explicitly mention dependencies
2024-12-06 14:31:04 +01:00

22 lines
No EOL
485 B
JavaScript

import js from "@eslint/js";
import globals from "globals";
export default [
js.configs.recommended,
{
files: ["assets/js/**/*.js"],
ignores: ["assets/*.js"],
rules: {
eqeqeq: 1,
curly: "error",
semi: ["warn", "always"],
},
languageOptions: {
globals: {
...globals.browser,
...globals.node,
...globals.amd,
}
}
},
];