@roadmunk/eslint-config-roadmunk

This holds the base Roadmunk shop standard ESLint configuration file.

Usage no npm install needed!

<script type="module">
  import roadmunkEslintConfigRoadmunk from 'https://cdn.skypack.dev/@roadmunk/eslint-config-roadmunk';
</script>

README

This holds the base Roadmunk shop standard ESLint configuration file.

Use this into all NodeJS projects as follows:

  1. Add a dependency for this package to your package.json file:

    {
        "devDependencies" : {
            "@roadmunk/eslint-config-roadmunk": "^3.3.0",
        }
    }
    
  2. Add one of the following to your project's .eslintrc file:

    • For just the base configuration:
    {
        "extends" : "./node_modules/eslint-config-roadmunk/index.js",
    }
    
    • For the base configuration with extra Vue rules
    {
        "extends" : "./node_modules/eslint-config-roadmunk/vue-config.js",
    }
    
    • For the base configuration with extra Typescript and React rules
    {
        "extends" : "./node_modules/eslint-config-roadmunk/react-ts-config.js",
    }