package.cjs.configs.eslint.globals.js Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of neeto-commons-frontend Show documentation
Show all versions of neeto-commons-frontend Show documentation
A package encapsulating common code across neeto projects including initializers, utility functions, common components and hooks and so on.
module.exports = {
// Globals can be disabled with the string "off"
// "writable" to allow the variable to be overwritten or "readonly" to disallow overwriting.
globals: {
Atomics: "readonly",
SharedArrayBuffer: "readonly",
// Makes logger function available everywhere. Else eslint will complaint of undef-var.
logger: "readonly",
module: "writable",
// Makes props obtained from Rails backend available everywhere in this project.
globalProps: "readonly",
preval: "readonly",
},
};