JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 194
  • Score
    100M100P100Q81420F
  • License MIT

ESLint configurations for easier usage of global variables.

Package Exports

  • @futagoza/eslint-config-globals

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@futagoza/eslint-config-globals) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

dependencies History License

This package contains configuration files for ESLint v6+

This is a configuration file for ESLint that is used to enable JavaScript global variables.

installation

$ npm i --save-dev @futagoza/eslint-config-globals

usage

Put the following into your configuration (.eslintrc.* file or the "eslintConfig" field in package.json):

{
    "extends": "@futagoza/globals"
}

configurations

A list of usable configurations as well the configurations they use:

  • @futagoza/globals (default, enables common built-in ECMAScript variables)
  • @futagoza/globals/browser
  • @futagoza/globals/es5 (extends @futagoza/globals)
  • @futagoza/globals/es2015 (extends es5)
  • @futagoza/globals/es2017 (extends es2015)
  • @futagoza/globals/es2020 (extends es2017)
  • @futagoza/globals/gui (extends browser and node)
  • @futagoza/globals/loaders
  • @futagoza/globals/node
  • @futagoza/globals/test
  • @futagoza/globals/worker

license

Copyright © 2019+ Futago-za Ryuu
Released under the MIT License, http://opensource.org/licenses/MIT