Skip to content

StellarExpert coding style conventions for JS projects

License

Notifications You must be signed in to change notification settings

stellar-expert/eslint-config-js

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

StellarExpert coding style conventions for JS projects

Resources

License

Stars

Watchers

Forks