localization-drift 0.1.0 → 0.1.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.
Files changed (2) hide show
  1. package/package.json +2 -2
  2. package/src/index.mjs +0 -1
package/package.json CHANGED
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "localization-drift",
3
- "version": "0.1.0",
3
+ "version": "0.1.1",
4
4
  "description": "Fail a build when customer-visible text bypasses translation keys.",
5
5
  "type": "module",
6
6
  "license": "MIT",
7
7
  "repository": {
8
8
  "type": "git",
9
- "url": "git+https://github.com/m1chlcz/localization-drift.git"
9
+ "url": "git+https://github.com/M1chlCZ/localization-drift.git"
10
10
  },
11
11
  "homepage": "https://github.com/m1chlcz/localization-drift",
12
12
  "bugs": "https://github.com/m1chlcz/localization-drift/issues",
package/src/index.mjs CHANGED
@@ -148,7 +148,6 @@ export async function scanRepository(root, config = {}) {
148
148
  if (excludedPath(path, settings.exclude)) continue;
149
149
  const source = await readFile(absolute, "utf8");
150
150
  findings.push(...analyzeSource(path, source, {
151
- checkJSX: settings.extensions.includes(extname(path)) && path.endsWith(".tsx"),
152
151
  attributes: settings.attributes,
153
152
  forbidden: settings.forbidden,
154
153
  allowComment: settings.allowComment,