Skip to content

Commit

Permalink
chore: removing unused packages
Browse files Browse the repository at this point in the history
  • Loading branch information
aorumbayev committed Aug 28, 2024
1 parent 5e47bc6 commit d2cf59f
Show file tree
Hide file tree
Showing 16 changed files with 731 additions and 2,132 deletions.
18 changes: 0 additions & 18 deletions .eslintrc

This file was deleted.

18 changes: 0 additions & 18 deletions .stylelintrc

This file was deleted.

44 changes: 44 additions & 0 deletions eslint.config.mjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
import typescriptEslint from "@typescript-eslint/eslint-plugin";
import prettier from "eslint-plugin-prettier";
import globals from "globals";
import tsParser from "@typescript-eslint/parser";
import path from "node:path";
import { fileURLToPath } from "node:url";
import js from "@eslint/js";
import { FlatCompat } from "@eslint/eslintrc";

const __filename = fileURLToPath(import.meta.url);
const __dirname = path.dirname(__filename);
const compat = new FlatCompat({
baseDirectory: __dirname,
recommendedConfig: js.configs.recommended,
allConfig: js.configs.all,
});

export default [
...compat.extends(
"eslint:recommended",
"plugin:@typescript-eslint/eslint-recommended",
"plugin:@typescript-eslint/recommended",
"prettier",
),
{
plugins: {
"@typescript-eslint": typescriptEslint,
prettier,
},

languageOptions: {
globals: {
...globals.browser,
...globals.node,
},

parser: tsParser,
},

rules: {
"prettier/prettier": "error",
},
},
];
Loading

0 comments on commit d2cf59f

Please sign in to comment.