@computerrock/eslint-config-base

ESLint configuration for JavaScript projects

Usage no npm install needed!

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

README

@computerrock/eslint-config-base

This package contains shareable ESLint configuration used for JavaScript projects.

This package is extended by @computerrock/eslint-config-react-app and @computerrock/eslint-config-react-native-app.

Usage

Install:

$ npm install @computerrock/eslint-config-base --save-dev

Create a file named .eslintrc with following contents in the root folder of your project:

{
    "root": true,
    "extends": "@computerrock/eslint-config-base",
    "rules": {
        "valid-jsdoc": "warn",
        "require-jsdoc": "off"
    }
}

You can override the settings from @computerrock/eslint-config-base by editing the .eslintrc file. Learn more about configuring ESLint on the ESLint website.