eslint-config-manpacker

Manpacker Javascirpt eslint style config standard code style

Usage no npm install needed!

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

README

npm npm bundle size npm NPM

nodei.co

Explain

This project uses parser "babel-eslint"
And plugin "import", "node", "promise", "standard".
Inherits "standard"

Install

npm install eslint -D

npm install eslint-config-manpacker -D

Usage

  • Add  .eslintrc   file to your project.  
    Or .eslintrc file does not exist, Create a new file.
npx eslint --init

Configuration content of file.

{
  "extends": ["manpacker"]
}
  • You can add a configuration entry to the package.json file as follows.
"eslintConfig": {
  "extends": ["manpacker"]
}

Refer to the following configuration.
Example:

"eslintConfig": {
  "root": true,
  "extends": ["manpacker"],
  "rules": {}
}

Npm

link