Skip to content

Commit

Permalink
Refactor .solcover.js to use ES module syntax and add ESLint configur…
Browse files Browse the repository at this point in the history
…ation for improved code quality
  • Loading branch information
Le-Caignec committed Feb 4, 2025
1 parent 0b1aab9 commit e77f946
Show file tree
Hide file tree
Showing 4 changed files with 2,422 additions and 447 deletions.
4 changes: 1 addition & 3 deletions .solcover.js
Original file line number Diff line number Diff line change
@@ -1,3 +1 @@
module.exports = {
skipFiles: ['mocks'],
};
export const skipFiles = ['mocks'];
21 changes: 21 additions & 0 deletions eslint.config.mjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
import eslint from '@eslint/js';
import tseslint from '@typescript-eslint/eslint-plugin';
import tsParser from '@typescript-eslint/parser';
import importPlugin from 'eslint-plugin-import';

export default [
eslint.configs.recommended,
{
languageOptions: {
parser: tsParser,
parserOptions: {
ecmaVersion: 'latest',
sourceType: 'module',
},
},
plugins: {
'@typescript-eslint': tseslint,
import: importPlugin,
},
},
];
Loading

0 comments on commit e77f946

Please sign in to comment.