@webdev-config/eslint

ESLint configuration to be shared across repositories.

Usage no npm install needed!

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

README

@webdev-config/eslint

ESLint configuration to be shared across repositories.

Install

npm i -D @webdev-config/eslint

Configure

Append to package.json:

"eslintConfig": { "extends": "./node_modules/@webdev-config/eslint" }

Execute

eslint [path regex]

eslint ./src/**

eslint ./index.ts

Test

Build test code inside of index.ts, use package.json scripts test and fix to execute local testing.