eslint-config-airbnb-base-mjs
v3.0.0
Published
eslint-config-airbnb-base with .mjs extension replacing .js
Downloads
56
Maintainers
Readme
eslint-config-airbnb-base-mjs
eslint-config-airbnb-base with
.mjs
extension replacing.js
Installation
- Install
eslint-config-airbnb-base-mjs
and its peer dependencies:
# With npm 5+:
npx install-peerdeps --dev eslint-config-airbnb-base-mjs
# Or, with npm < 5:
# 1. Install peer dependencies listed by: npm info eslint-config-airbnb-base-mjs@latest peerDependencies
# 2. Install eslint-config-airbnb-base-mjs: npm install eslint-config-airbnb-base-mjs --save-dev
- Add to your
.eslintrc.json
(or equivalent):
{
"extends": "eslint-config-airbnb-base-mjs"
}
Usage
# With npm 5+ (otherwise run `./node_modules/.bin/eslint`)
npx eslint . --ext .mjs
License
This project is released under ISC License.