All Downloads are FREE. Search and download functionalities are using the official Maven repository.

package.configs.eslint.globals.js Maven / Gradle / Ivy

Go to download

A package encapsulating common code across neeto projects including initializers, utility functions, common components and hooks and so on.

There is a newer version: 4.12.3
Show newest version
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",
  },
};




© 2015 - 2024 Weber Informatics LLC | Privacy Policy