Skip to content

stellar-expert/eslint-config-react

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

@stellar-expert/eslint-config-react

Basic StellarExpert ESLint conventions for React web apps

Usage

  1. Install package

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

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

About

StellarExpert coding style conventions for React web apps

Resources

License

Stars

Watchers

Forks