@futagoza/eslint-config-globals

16.1.0 • Public • Published

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/es2021 (extends es2020)
  • @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

Package Sidebar

Install

npm i @futagoza/eslint-config-globals

Weekly Downloads

2

Version

16.1.0

License

MIT

Unpacked Size

5.67 kB

Total Files

15

Last publish

Collaborators

  • ryuu