@extensionengine/eslint-config
@extensionengine/eslint-config
This package provides Extension Engine's extensible ESLint config.
Usage
Package contains two shared ESLint configs:
@extensionengine/eslint-config
This is default configuration supporting both server & Vue powered client codebases.
@extensionengine/eslint-config/base
This is base configuration without Vue specific rules.
Install
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.
Badge
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.
[](https://github.com/ExtensionEngine/eslint-config)
Related Packages
eslint-config-any
ESLint configuration for JavaScript, TypeScript, React & Vue projects, by Julio...
6,327
0
Version History
| Version | Released | License |
|---|---|---|
| 5.0.0 | MIT | |
| 4.0.1 | MIT | |
| 4.0.0 | MIT | |
| 3.0.1 | MIT | |
| 3.0.0 | MIT | |
| 2.0.0 | MIT | |
| 1.3.1 | MIT | |
| 1.3.0 | MIT | |
| 1.2.0 | MIT | |
| 1.1.0 | MIT | |
| 1.0.1 | MIT | |
| 1.0.0 | MIT |