@stellar-expert/eslint-config-js

1.1.0 • Public • Published

@stellar-expert/eslint-config-js

Basic StellarExpert ESLint config for JS projects

Usage

  1. Install package

    npm i -D github:stellar-expert/eslint-config-js
    
  2. Create .eslintrc.js file in the project root

    module.exports = {
        //utilize this ESLint config
        extends: ['@stellar-expert/eslint-config-js'],
        //provide paths to ignore
        ignorePatterns: ['distr/', 'node_modules/'],
        //define project-specific globals if any
        globals: {},
        //ovveride some rules if needed
        rules: {
            'no-console': 'off'
        }
    }
  3. Have fun 🚀

Readme

Keywords

none

Package Sidebar

Install

npm i @stellar-expert/eslint-config-js

Weekly Downloads

11

Version

1.1.0

License

MIT

Unpacked Size

5.85 kB

Total Files

5

Last publish

Collaborators

  • orbitlens