@pohodnik/eslint-config

Pohodnik JS code style

Usage no npm install needed!

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

README

@pohodnik/eslint-config

eslint configuration for pohodnik developers

install

 yarn add -D @pohodnik/eslint-config

or

 npm install --save-dev @pohodnik/eslint-config

usage

in root of your project place file .eslintrc with content:

basic

{
    "extends": "@pohodnik"
}

for react

{
    "extends": ["@pohodnik", "@pohodnik/eslint-config/react"]
}

for jest

{
    "extends": ["@pohodnik", "@pohodnik/eslint-config/jest"]
}

for all

{
    "extends": [
        "@pohodnik",
        "@pohodnik/eslint-config/react",
        "@pohodnik/eslint-config/jest"
    ]
}