Skip to content

Commit

Permalink
Merge pull request #191 from nationalarchives/linting-fix
Browse files Browse the repository at this point in the history
Linting fix
  • Loading branch information
garethfoote authored Dec 11, 2024
2 parents 75a5ad6 + 391aae2 commit 8907c18
Show file tree
Hide file tree
Showing 9 changed files with 127 additions and 1,323 deletions.
21 changes: 9 additions & 12 deletions eslint.config.js
Original file line number Diff line number Diff line change
@@ -1,13 +1,10 @@
module.exports = (async function config() {
const { default: eslintConfigLove } = await import('eslint-config-love')
const eslint = require('@eslint/js');
const tseslint = require('typescript-eslint');

return [
{
...eslintConfigLove,
files: [ '**/*.ts' ],
rules: {
'@typescript-eslint/no-unsafe-assignment': 'off'
}
},
]
})()
module.exports = tseslint.config(
eslint.configs.recommended,
tseslint.configs.recommended,
{
files: ['src/**/*.ts'],
}
);
Loading

0 comments on commit 8907c18

Please sign in to comment.