Skip to content

Commit

Permalink
Convert constraints from Prolog to JavaScript
Browse files Browse the repository at this point in the history
Most of the constraints here were copied from the module template, but
we include additional constraints to ensure that dependencies are
specified consistently and, in particular, that peer dependencies are
specified for controllers.

Note that we have had discussions around the peer dependency logic and
we know that it is not quite correct. This will be corrected in another
PR.
  • Loading branch information
mcmire committed Jul 22, 2024
1 parent 0f80f16 commit 006ef2b
Show file tree
Hide file tree
Showing 5 changed files with 542 additions and 435 deletions.
7 changes: 5 additions & 2 deletions .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,10 @@ module.exports = {
},
},
{
files: ['*.js'],
files: ['*.js', '*.cjs'],
parserOptions: {
sourceType: 'script',
ecmaVersion: '2018',
ecmaVersion: '2020',
},
},
{
Expand Down Expand Up @@ -121,5 +121,8 @@ module.exports = {
'import/resolver': {
typescript: {},
},
jsdoc: {
mode: 'typescript',
},
},
};
Loading

0 comments on commit 006ef2b

Please sign in to comment.