Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upgrade eslint to 9.x, prettier, and configs #1972

Merged
merged 4 commits into from
Aug 16, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 0 additions & 11 deletions .eslintrc.json

This file was deleted.

1 change: 1 addition & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ jobs:
- 18
- 20
- 21
- 22
os:
- ubuntu-latest
- windows-latest
Expand Down
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
Loading