Skip to content

Commit

Permalink
Upgrade eslint to 9.x, prettier, and configs
Browse files Browse the repository at this point in the history
  • Loading branch information
tshemsedinov committed Aug 16, 2024
1 parent 2549a72 commit 44c2d72
Show file tree
Hide file tree
Showing 8 changed files with 275 additions and 1,582 deletions.
11 changes: 0 additions & 11 deletions .eslintrc.json

This file was deleted.

10 changes: 0 additions & 10 deletions .prettierrc

This file was deleted.

20 changes: 20 additions & 0 deletions eslint.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
'use strict';

const init = require('eslint-config-metarhia');

module.exports = [
...init,
{
files: ['schemas/**/*.js', 'test/**/*.js'],
rules: {
strict: 'off',
camelcase: 'off',
},
languageOptions: {
globals: {
application: true,
lib: true,
},
},
},
];
Loading

0 comments on commit 44c2d72

Please sign in to comment.