Skip to content

Commit

Permalink
feat: support monorepo development f38514a
Browse files Browse the repository at this point in the history
author Simon Knott <info@simonknott.de> 1687335468 +0200
committer Lukas Holzer <lukas.holzer@netlify.com> 1689772044 +0200
  • Loading branch information
Skn0tt authored and lukasholzer committed Jul 20, 2023
1 parent a403fbd commit 425e751
Show file tree
Hide file tree
Showing 38 changed files with 845 additions and 1,612 deletions.
8 changes: 7 additions & 1 deletion .eslintrc.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,11 @@ const { overrides } = require('@netlify/eslint-config-node')

module.exports = {
extends: '@netlify/eslint-config-node',
plugins: ['sort-destructure-keys'],
plugins: [
'sort-destructure-keys',
// custom workspace lint rules found under `./tools/lint-rules`
'workspace',
],
parserOptions: {
ecmaVersion: '2020',
babelOptions: {
Expand All @@ -12,9 +16,11 @@ module.exports = {
},
},
rules: {
'workspace/no-process-cwd': 'error',
// Those rules from @netlify/eslint-config-node are currently disabled
// TODO: remove, so those rules are enabled
complexity: 0,
'no-inline-comments': 'off',
'func-style': 'off',
'max-depth': 0,
'max-lines': 0,
Expand Down

0 comments on commit 425e751

Please sign in to comment.