@wwenv/eslint-config
v0.1.1
Published
Web Working Environment ESLint config
Readme
Web Working Environment ESLint config
This modules provides a recommended configuration for all parts of the Web Working Environment.
Usage
Add eslint and @wwenv/eslint-config to your devDependencies:
npm install --save-dev eslint @wwenv/eslint-configAdd a file named .eslintrc.js to your project root directory:
module.exports = {
extends: [
'@wwenv/eslint-config'
],
parserOptions: {
project: [
'./tsconfig.json',
],
},
};If you habe multiple tsconfig files, add them all to project like this:
module.exports = {
extends: [
'@wwenv/eslint-config'
],
parserOptions: {
project: [
'./tsconfig.backend.json',
'./tsconfig.frontend.json',
],
},
};License
Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International (CC BY-NC-SA 4.0)
Copyright (c) 2021 Peter Müller [email protected]
