diff --git a/package.json b/package.json index 2087420..3c8fb09 100644 --- a/package.json +++ b/package.json @@ -28,4 +28,4 @@ "prettier": "3.3.3", "prettier-plugin-packagejson": "2.5.2" } -} \ No newline at end of file +} diff --git a/packages/eslint-config-base/flat/index.mjs b/packages/eslint-config-base/flat/index.mjs index 019ebb1..ba8482f 100644 --- a/packages/eslint-config-base/flat/index.mjs +++ b/packages/eslint-config-base/flat/index.mjs @@ -1,4 +1,4 @@ -"use strict" +'use strict'; import eslintRecommended from '@eslint/js'; import tsEslintRecommended from '@typescript-eslint/eslint-plugin'; diff --git a/packages/eslint-config-base/package.json b/packages/eslint-config-base/package.json index da30434..1a9e942 100644 --- a/packages/eslint-config-base/package.json +++ b/packages/eslint-config-base/package.json @@ -8,7 +8,6 @@ "url": "git+https://github.com/salute-developers/grail.git" }, "author": "Salute Frontend Team ", - "main": "index.js", "exports": { ".": { "require": "./index.js", @@ -16,6 +15,7 @@ }, "./flat": "./flat/index.mjs" }, + "main": "index.js", "peerDependencies": { "@typescript-eslint/eslint-plugin": ">=8", "@typescript-eslint/parser": ">=8", diff --git a/packages/eslint-config/README.md b/packages/eslint-config/README.md index af0ea9d..a2bddfe 100644 --- a/packages/eslint-config/README.md +++ b/packages/eslint-config/README.md @@ -18,6 +18,6 @@ npm i -D @salutejs/prettier-config @typescript-eslint/eslint-plugin@8 @typescrip ```json { - "extends": ["all-other-configs", "@salutejs/eslint-config"] + "extends": ["all-other-configs", "@salutejs/eslint-config"] } ``` diff --git a/packages/eslint-config/flat/index.mjs b/packages/eslint-config/flat/index.mjs index 424d422..f46d82a 100644 --- a/packages/eslint-config/flat/index.mjs +++ b/packages/eslint-config/flat/index.mjs @@ -1,4 +1,4 @@ -"use strict"; +'use strict'; import eslintConfigBase from '@salutejs/eslint-config-base'; import reactPlugin from 'eslint-plugin-react'; diff --git a/packages/eslint-config/index.mjs b/packages/eslint-config/index.mjs index a4477dd..88ff27d 100644 --- a/packages/eslint-config/index.mjs +++ b/packages/eslint-config/index.mjs @@ -1,4 +1,4 @@ -import prettierConfig from "@salutejs/prettier-config" +import prettierConfig from '@salutejs/prettier-config'; export default { extends: [ diff --git a/packages/eslint-config/package.json b/packages/eslint-config/package.json index a6aa582..66a8a8c 100644 --- a/packages/eslint-config/package.json +++ b/packages/eslint-config/package.json @@ -8,7 +8,6 @@ "url": "git+https://github.com/salute-developers/grail.git" }, "author": "Salute Frontend Team ", - "main": "index.js", "exports": { ".": { "require": "./index.js", @@ -16,6 +15,7 @@ }, "./flat": "./flat/index.mjs" }, + "main": "index.js", "scripts": { "test": "jest" }, diff --git a/packages/prettier-config/index.mjs b/packages/prettier-config/index.mjs index 1cad10e..4aa7d08 100644 --- a/packages/prettier-config/index.mjs +++ b/packages/prettier-config/index.mjs @@ -8,4 +8,4 @@ export default { singleQuote: true, tabWidth: 4, trailingComma: 'all', -}; \ No newline at end of file +}; diff --git a/packages/prettier-config/package.json b/packages/prettier-config/package.json index ff86f83..9205e5f 100644 --- a/packages/prettier-config/package.json +++ b/packages/prettier-config/package.json @@ -8,13 +8,13 @@ "url": "git+https://github.com/salute-developers/grail.git" }, "author": "Salute Frontend Team ", - "main": "index.js", "exports": { ".": { "import": "./index.mjs", "require": "./index.js" } }, + "main": "index.js", "peerDependencies": { "prettier": ">=3.1.0", "typescript": ">=4.3.5"