Extension Engine's eslint config

Usage no npm install needed!

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



circleci build status install size npm package version github license

This package provides Extension Engine's extensible ESLint config.


Package contains two shared ESLint configs:


This is default configuration supporting both server & Vue powered client codebases.


This is base configuration without Vue specific rules.


Use install-peerdeps

npx install-peerdeps --dev @extensionengine/eslint-config

or the classic way:

npm install --save-dev eslint @extensionengine/eslint-config @babel/eslint-parser @babel/eslint-plugin eslint-plugin-import eslint-plugin-node eslint-plugin-promise eslint-plugin-require-sort eslint-plugin-vue eslint-config-standard eslint-config-semistandard

Using @extensionengine/eslint-config in your project

In your local .eslintrc.* extend this configuration

'use strict';

module.exports = {
  root: true,
  extends: '@extensionengine'

If you don't need Vue you can use base configuration:

'use strict';

module.exports = {
  root: true,
  extends: '@extensionengine/eslint-config/base'

Check ESlint documentation for rules explanation.


If you are using this config in your project you can include this badge in a readme to let people know that your code is using it.

js @extensionengine style

[![js @extensionengine style](https://badgen.net/badge/code%20style/@extensionengine/black)](https://github.com/ExtensionEngine/eslint-config)