Why Gemfury? Push, build, and install  RubyGems npm packages Python packages Maven artifacts PHP packages Go Modules Debian packages RPM packages NuGet packages

Repository URL to install this package:

Details    
@skava/eslint-config / src / rules / globals.js
Size: Mime:
module.exports = {
  globals: {
    // ours
    styled: false,

    // jest & bundler
    expect: true,
    test: true,
    before: true,
    beforeEach: true,
    after: true,
    afterEach: true,
    describe: true,
    it: true,
    context: true,
    jest: true,
    __webpack_require__: true,

    // === adding build configs...
    // __THEME__: true,
    // __THEME_IMPORT__: true,

    // __CACHE__: true,
    // __BVT__: true,
    // __QA__: true,
    // __STAGE__: true,
    // __PIPELINE_SERVER__: true,
    // __PRE_PRODUCTION__: true,
    __DEV__: true,
    __LOCAL_PRODUCTION__: true,
    __PRODUCTION__: true,
    __TEST__: true,
    __PERF__: true,
    __DEBUG__: true,

    __SSR__: true,
    __COMPAT__: true,
    // __WINDOWS__: true,

    // real types
    Null: true,
    Undefined: true,
    Any: true,
    Arguments: true,
    Iterator: true,
    AsyncFunction: true,
    GeneratorFunction: true,
    AsyncIterator: true,
    StringIterator: true,
    MapIterator: true,
    SetIterator: true,
    ArrayIterator: true,
    // json loaded scripts
    google: true,
  },
}