@oat-sa/eslint-config-tao

3.0.1 • Public • Published

eslint-config-tao

Shareable .eslintrc.js configurations package for oat-sa projects.

Concept

All extensions, projects and libraries (oat-sa wide) should use the shared config as a basis. Current extension contains a pack of shareable configs depending on the stack and target. General idea is described here: https://eslint.org/docs/developer-guide/shareable-configs

Examples

Use shareable eslint configurations via the extends config property.

  1. Default configuration. Edit the .eslintrc.js of your project:

    module.exports = {
      extends: "@oat-sa/eslint-config-tao",
    };
  2. Configuration for AMD modules:

    module.exports = {
      extends: "@oat-sa/eslint-config-tao/amd",
    };
  3. Configuration for es modules, svelte, etc.:

    module.exports = {
      extends: "@oat-sa/eslint-config-tao/svelte",
    };
  4. Configuration for node:

    module.exports = {
      extends: "@oat-sa/eslint-config-tao/node",
    };
  5. Configuration for cypress:

    module.exports = {
      extends: "@oat-sa/eslint-config-tao/cypress",
    };

Change log

See changelog here

Dependents (0)

Package Sidebar

Install

npm i @oat-sa/eslint-config-tao

Weekly Downloads

1,236

Version

3.0.1

License

GPL-2.0-only

Unpacked Size

33.7 kB

Total Files

10

Last publish

Collaborators

  • juan.vazquez.tao
  • sabatkeshelashvili
  • yairtao
  • shpran
  • harroyo-oat
  • pribi
  • edwin-oat
  • llecaque
  • gauravoat
  • viktar_dzmitryieu
  • roma-derski
  • tikhanovich
  • karols
  • olechafm
  • olga-kulish-tao
  • gabriel-tao
  • jsconan
  • oatymart
  • tamasbesenyei
  • oat-admin
  • shaveko
  • wazelin
  • marpesia
  • yukipastelcat
  • gloribeloat