From 878a2144d197d4eb29200e70614b321186f1dfbc Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Tue, 19 Mar 2024 16:21:22 +0300 Subject: [PATCH] refactor(eslint): sort alphabetically (#13) Co-authored-by: Almanov Nikita <131481562+nikkeyl@users.noreply.github.com> --- eslint.config.js | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/eslint.config.js b/eslint.config.js index 91772c1..0093949 100644 --- a/eslint.config.js +++ b/eslint.config.js @@ -1,9 +1,9 @@ -import globals from 'globals'; +import { resolve } from 'node:path'; import { defineFlatConfig } from 'eslint-define-config'; import { FlatCompat } from '@eslint/eslintrc'; -import { resolve } from 'node:path'; +import globals from 'globals'; import typescriptParser from '@typescript-eslint/parser'; import unicorn from 'eslint-plugin-unicorn'; @@ -21,13 +21,13 @@ export default defineFlatConfig([ unicorn.configs['flat/recommended'], { languageOptions: { + globals: { + ...globals.node, + }, parser: typescriptParser, parserOptions: { project: 'tsconfig.json', }, - globals: { - ...globals.node, - }, }, settings: { 'import/resolver': {