Comments (7)
@mayank23 Awesome! I'll let you know. I'm looking forward to using this plugin but the Array restriction is a blocker at the moment.
from eslint-plugin-i18n-json.
We use Smartling as a service to translate our language and they require a "smartling" prop in lang files with meta data about the file.
For example,
// es.json
{
"smartling": {
"placeholder_format_custom": [ ... ],
...
},
...
}
from eslint-plugin-i18n-json.
Hey @hjylewis š, thanks for bringing this up. Iām planning on removing the Array restriction and also including ignore options for each rule. If you have any other possible ideas, please let me know! š
from eslint-plugin-i18n-json.
Hi @hjylewis š . Could you provide an example of what a metadata
key could look like? Just for curiosity. Thanks! There is an in progress branch atm, hoping to finish it up soon š . branch:ignore-key-global-setting
from eslint-plugin-i18n-json.
Awesome, thanks for the info!
from eslint-plugin-i18n-json.
hi @hjylewis š , released an update for ignoring keys in the latest v2.4.0 release. https://github.com/godaddy/eslint-plugin-i18n-json#i18n-jsonignore-keys
Currently it's a sort of global setting as mentioned in the README.md . Future updates should turn this into a more granular setting such that it can be controlled on a per rule basis. Thanks!
from eslint-plugin-i18n-json.
Awesome, thanks!
from eslint-plugin-i18n-json.
Related Issues (20)
- Expected space or tab after '/*' in comment spaced-comment HOT 2
- `--fix` flag is not recognized HOT 2
- Question when using eslintrc in json format HOT 4
- processor fail when json file contain '**' HOT 2
- Upgrade deprecated intl-messageformat-parser to v6 HOT 1
- Prettier rules gives Unexpected token HOT 10
- sorting fails with some numbers as a keys HOT 1
- underscore dependency high vulnerability HOT 1
- a vulnerability CVE-2021-23358 is introduced in eslint-plugin-i18n-json HOT 2
- i18n-json/identical-keys to copy missing keys to other languages on --fix
- How i can validate object names as keys?
- unique-keys rule
- How to use it with WebStorm and VSCode autosave eslint fix HOT 1
- i18n-json/identical-keys suffix matching with similarly named files causes issues HOT 1
- Security upgrade underscore / nomnom HOT 2
- i18n-json/valid-message-syntax: Add possibility to allow Arrays
- High Severity Dependency
- Using plugin with different folder structure
- Check for identical values
- Preprocessor breakes other tools
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
š Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ššš
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ā¤ļø Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from eslint-plugin-i18n-json.