lint-config-m

Lint config with eslint and stylelint.

Usage no npm install needed!

<script type="module">
  import lintConfigM from 'https://cdn.skypack.dev/lint-config-m';
</script>

README

lint-config-m

Lint config with eslint and stylelint.

Travis Codecov Status npm package npm downloads license

Dependency Status devDependency Status peerDependency Status

Installation

$ npm install eslint stylelint lint-config-m --save-dev

Usage

  • eslint
"stylelint": {
  "extends": "./node_modules/lint-config-m/stylelint.js"
},
"eslintConfig": {
  "extends": [
    "./node_modules/lint-config-m/eslint.js"
  ]
}

peerDependencies

  • eslint
  • stylelint

Test

$ npm run test:watch

CONTRIBUTING

  • ⇄ Pull requests and ★ Stars are always welcome.
  • For bugs and feature requests, please create an issue.
  • Pull requests must be accompanied by passing automated tests ($ npm test).

CHANGELOG

LICENSE

MIT: http://michaelhsu.mit-license.org