@absolunet/eslint-loader

ESLint YAML configuration loader

Usage no npm install needed!

<script type="module">
  import absolunetEslintLoader from 'https://cdn.skypack.dev/@absolunet/eslint-loader';
</script>

README

@absolunet/eslint-loader

npm npm dependencies npms Travis CI Code style

ESLint YAML configuration loader

Install

$ npm install @absolunet/eslint-loader

Usage

const loader = require('@absolunet/eslint-loader');

module.exports = loader(__dirname);

API

loader(path)

Returns an Object of ESLint configuration.

path

Required Type: string

Path where the shareable-config.yaml file is.

License

MIT © Absolunet