eslint-plugin-i18next
Advanced tools
Comparing version 1.1.3 to 1.2.0
@@ -1,5 +0,14 @@ | ||
# Change Log | ||
# Changelog | ||
All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines. | ||
## [1.2.0](https://github.com/edvardchen/eslint-plugin-i18next/compare/v1.1.3...v1.2.0) (2019-06-20) | ||
### Features | ||
* skip checking import(...) ([7306038](https://github.com/edvardchen/eslint-plugin-i18next/commit/7306038)) | ||
## [1.1.3](https://github.com/edvardchen/eslint-plugin-i18next/compare/v1.1.2...v1.1.3) (2019-04-08) | ||
@@ -6,0 +15,0 @@ |
@@ -112,2 +112,5 @@ /** | ||
if (temp.type === 'CallExpression') { | ||
// import(...) is valid | ||
if (temp.callee.type === 'Import') return; | ||
if (isValidFunctionCall(temp)) return; | ||
@@ -114,0 +117,0 @@ break; |
{ | ||
"name": "eslint-plugin-i18next", | ||
"version": "1.1.3", | ||
"version": "1.2.0", | ||
"description": "ESLint plugin for i18n", | ||
@@ -34,3 +34,3 @@ "keywords": [ | ||
"husky": "^1.3.1", | ||
"mocha": "^6.1.1", | ||
"mocha": "^6.1.4", | ||
"vue-eslint-parser": "^6.0.3" | ||
@@ -37,0 +37,0 @@ }, |
@@ -31,2 +31,3 @@ /** | ||
valid: [ | ||
{ code: 'import("hello")' }, | ||
{ code: 'import name from "hello";' }, | ||
@@ -33,0 +34,0 @@ { code: 'require("hello");' }, |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
16228
274