eslint-config-wslfx

1.0.9 • Public • Published

eslint-config-wslfx

Weasel & Fox ESlint config

Usage

  1. Install this package:
yarn add -D eslint-config-wslfx
  1. Install the correct versions of each package, which are listed by the command:
npm info "eslint-config-wslfx@latest" peerDependencies

If using npm 5+, use this shortcut

npx install-peerdeps --dev eslint-config-wslfx
  1. Create .eslintrc.js configuration file:
module.exports = {
  extends: ['wslfx']
}
  1. Add lint scripts to package.json:
"scripts"{
  "lint": "yarn eslint .",
  "lint:fix": "yarn lint --fix"
}
  1. Run yarn lint to lint your code.
  2. Run yarn lint:fix to lint, format and fix your code.

Package Sidebar

Install

npm i eslint-config-wslfx

Weekly Downloads

0

Version

1.0.9

License

MIT

Unpacked Size

65.8 kB

Total Files

6

Last publish

Collaborators

  • yn5