eslint-config-volebo
v5.0.1
Published
ESLint rules for volebo.net
Maintainers
Readme
eslint-config-volebo
################################################################################
# #
# db db .8888. dP 888888b 8888ba .8888. d8b db 888888b d8888P #
# 88 88 d8' `8b 88 88 88 `8b d8' `8b 88V8 88 88 88 #
# Y8 8P 88 88 88 a88aaa 88aa8P' 88 88 88 V8 88 88aaa 88 #
# `8b d8' 88 88 88 88 88 `8b 88 88 88 V888 88 88 #
# `8bd8' Y8. .8P 88 88 88 .88 Y8. .8P dP 88 V88 88 88 #
# YP `888P' 88888P 888888P 888888' `888P' 88 VP 8P 888888P dP #
# #
################################################################################Common style guide for all Volebo.Net projects
Install
npm install --save-dev eslint-config-volebo eslintThen create an eslint.config.js file in the root of your project:
import volebo from 'eslint-config-volebo'
export default [
...volebo,
]Or providing more settings (most of them inherited from neostandard)
import { eslintConfigVolebo } from 'eslint-config-volebo'
import jsdoc from 'eslint-plugin-jsdoc'
export default [
...eslintConfigVolebo({
// options
globals: {
'MyClass': 'readonly',
},
}),
// other configs:
jsdoc.configs['flat/recommended-typescript-flavor'],
]SHORT
- preferably ESM (but works good with CJS in
strictmode) <tab>for indentation- no semicolons
Based on
- neostandard
- eslint-plugin-unicorn
- eslint-plugin-mocha
Old versions
See README.old.md
LICENSE
See LICENSE
