1.1.0 • Published 5 months ago

@stellar-expert/eslint-config-js v1.1.0

Weekly downloads
-
License
MIT
Repository
github
Last release
5 months ago

@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 🚀

1.1.0

5 months ago