eslint-config-schibsted

Schibsted ESLint settings

Usage no npm install needed!

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

README

eslint-config-schibsted Build Status

A module to contain the Schibsted JavaScript linting rules for ESLint.

Contributing

If you want to contribute, read more here.

How to use

See the README.md in packages/eslint-config-schibsted for usage documentation.

Testing

We use Yarn for installation. It is recommended to install Yarn using the native installation method for your environment. See https://yarnpkg.com/en/docs/install So don't do a npm i -g yarn. Use brew update && brew install yarn on mac or see yarn installation guide for more info. For travis, we rely on [the existence of yarn.lock in the root] (https://blog.travis-ci.com/2016-11-21-travis-ci-now-supports-yarn) to do the heavy work. Then simply run yarn run test from the root to test all packages in packages dir.