eslint-config-mina

ESLint config for Wechat Miniprogram

Usage no npm install needed!

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

README

eslint-config-mina

Installation

yarn add -D eslint-config-mina

Note: We're using yarn to install deps. Feel free to change commands to use npm 3+ and npx if you like

Usage

Add to your eslint config (.eslintrc.js, or eslintConfig field in package.json):

module.exports = {
  root: true,
  extends: ['mina', 'plugin:prettier/recommended']
};