@akinon/eslint-plugin-projectzero 1.16.3 → 1.17.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +4 -0
- package/dist/rules/check-locale.js +1 -1
- package/package.json +1 -1
- package/rules/check-locale.ts +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -26,7 +26,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
26
26
|
const utils_1 = require("@typescript-eslint/utils");
|
|
27
27
|
const path = __importStar(require("path"));
|
|
28
28
|
const fs = __importStar(require("fs"));
|
|
29
|
-
const MONOREPO_LOCALES_DIR = path.resolve(__dirname, '../../../../apps/
|
|
29
|
+
const MONOREPO_LOCALES_DIR = path.resolve(__dirname, '../../../../apps/projectzeronext/public/locales/en');
|
|
30
30
|
const STANDARD_REPO_LOCALES_DIR = path.join(process.cwd(), 'public/locales/en');
|
|
31
31
|
const LOCALES_DIR = fs.existsSync(MONOREPO_LOCALES_DIR)
|
|
32
32
|
? MONOREPO_LOCALES_DIR
|
package/package.json
CHANGED
package/rules/check-locale.ts
CHANGED
|
@@ -4,7 +4,7 @@ import * as fs from 'fs';
|
|
|
4
4
|
|
|
5
5
|
const MONOREPO_LOCALES_DIR = path.resolve(
|
|
6
6
|
__dirname,
|
|
7
|
-
'../../../../apps/
|
|
7
|
+
'../../../../apps/projectzeronext/public/locales/en'
|
|
8
8
|
);
|
|
9
9
|
|
|
10
10
|
const STANDARD_REPO_LOCALES_DIR = path.join(process.cwd(), 'public/locales/en');
|