mirror of
https://github.com/kevinpapst/kimai2.git
synced 2025-01-10 11:37:35 +00:00
17a815e5a9
* 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
22 lines
No EOL
485 B
JavaScript
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,
|
|
}
|
|
}
|
|
},
|
|
]; |