eslint-config-coremail

0.99.1 • Public • Published

ESLint config files for Coremail (c)

npm

Usage

This package exports a flat ESLint configuration which is supported since eslint 8.21.0

npm install --save-dev eslint eslint-config-coremail

Example eslint.config.js in esm:

import {configs} from 'eslint-config-coremail';

export default [
    // default using browser & node env
    configs.standard,
    // for old IE compatible
    {
        files : ['path/to/legacy/**'],
        ...configs.legacy,
    },
]

Example eslint.config.js in commonjs:

module.export = import('eslint-config-coremail').then(({configs}) => [
    // default using browser & node env
    configs.standard,
    // for old IE compatible
    {
        files : ['path/to/legacy/**'],
        ...configs.legacy,
    },
]);

Learn more

For the full listing of rules that eslint supports, and more, visit For more information on the full listing of rules, editor plugins, FAQs, and more, visit the ESLint official site.

License

MIT. Copyright (c) Coremail.

Package Sidebar

Install

npm i eslint-config-coremail

Weekly Downloads

4

Version

0.99.1

License

MIT

Unpacked Size

11.7 kB

Total Files

7

Last publish

Collaborators

  • lwr