1.0.9 • Published 6 years ago

eslint-config-wslfx v1.0.9

Weekly downloads
3
License
MIT
Repository
github
Last release
6 years ago

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.
1.0.9

6 years ago

1.0.8

6 years ago

1.0.7

6 years ago

1.0.6

6 years ago

1.0.5

6 years ago

1.0.4

6 years ago

1.0.3

6 years ago

1.0.2

6 years ago

1.0.1

6 years ago

1.0.0

6 years ago