Skip to content

Commit

Permalink
chore(i18n): add no-literal-string lint exceptions for __workshop__ d…
Browse files Browse the repository at this point in the history
…irs (#5064)

* chore(i18n): add no-literal-string lint exceptions for __workshop__ directories

* chore(i18n): add lint exceptions for __tests__
  • Loading branch information
jtpetty authored and rexxars committed Nov 28, 2023
1 parent 08bdf5b commit 56e8030
Show file tree
Hide file tree
Showing 26 changed files with 127 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"rules": {
"i18next/no-literal-string": "off"
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"rules": {
"i18next/no-literal-string": "off"
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"rules": {
"i18next/no-literal-string": "off"
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"rules": {
"i18next/no-literal-string": "off"
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"rules": {
"i18next/no-literal-string": "off"
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"rules": {
"i18next/no-literal-string": "off"
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"rules": {
"i18next/no-literal-string": "off"
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"rules": {
"i18next/no-literal-string": "off"
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"rules": {
"i18next/no-literal-string": "off"
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"rules": {
"i18next/no-literal-string": "off"
}
}
5 changes: 5 additions & 0 deletions packages/sanity/src/core/field/__workshop__/.eslintrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"rules": {
"i18next/no-literal-string": "off"
}
}
5 changes: 5 additions & 0 deletions packages/sanity/src/core/form/__workshop__/.eslintrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"rules": {
"i18next/no-literal-string": "off"
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"rules": {
"i18next/no-literal-string": "off"
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"rules": {
"i18next/no-literal-string": "off"
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"rules": {
"i18next/no-literal-string": "off"
}
}
5 changes: 5 additions & 0 deletions packages/sanity/src/core/form/inputs/__workshop__/.eslintrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"rules": {
"i18next/no-literal-string": "off"
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"rules": {
"i18next/no-literal-string": "off"
}
}
5 changes: 5 additions & 0 deletions packages/sanity/src/core/preview/__workshop__/.eslintrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"rules": {
"i18next/no-literal-string": "off"
}
}
5 changes: 5 additions & 0 deletions packages/sanity/src/core/schema/__workshop__/.eslintrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"rules": {
"i18next/no-literal-string": "off"
}
}
5 changes: 5 additions & 0 deletions packages/sanity/src/core/store/_legacy/__workshop__/.eslintrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"rules": {
"i18next/no-literal-string": "off"
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"rules": {
"i18next/no-literal-string": "off"
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"rules": {
"i18next/no-literal-string": "off"
}
}
5 changes: 5 additions & 0 deletions packages/sanity/src/desk/__workshop__/.eslintrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"rules": {
"i18next/no-literal-string": "off"
}
}
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{
"rules": {
"no-nested-ternary": "off"
"no-nested-ternary": "off",
"i18next/no-literal-string": "off"
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"rules": {
"i18next/no-literal-string": "off"
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"rules": {
"i18next/no-literal-string": "off"
}
}

0 comments on commit 56e8030

Please sign in to comment.