mirror of
https://github.com/kanidm/kanidm.git
synced 2025-02-23 04:27:02 +01:00
* feat(ci/dev): adding npm/eslint config for javascript linting * feat(ci/dev): adding js-prettier config for consistency in formatting * fix(css): linting * fix(js): linting the js things
16 lines
337 B
JavaScript
16 lines
337 B
JavaScript
import globals from "globals";
|
|
import pluginJs from "@eslint/js";
|
|
|
|
|
|
/** @type {import('eslint').Linter.Config[]} */
|
|
export default [
|
|
{
|
|
languageOptions: {
|
|
globals: {
|
|
...globals.browser,
|
|
Base64 : "writeable" // to feed the Base64 class into the global scope
|
|
}
|
|
}
|
|
},
|
|
pluginJs.configs.recommended,
|
|
]; |