Skip to content

Commit

Permalink
Implement various pagination improvements (#49)
Browse files Browse the repository at this point in the history
Co-authored-by: MrMamen <[email protected]>
  • Loading branch information
rafaelgomesxyz and MrMamen authored May 4, 2021
1 parent 6fc64f5 commit 74311ca
Show file tree
Hide file tree
Showing 53 changed files with 548 additions and 1,359 deletions.
10 changes: 5 additions & 5 deletions .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@ module.exports = {
overrides: [
{
files: ['**/_locales/**/*.json'],
plugins: ['@rafaelgssa/local'],
extends: ['plugin:@rafaelgssa/local/recommended'],
plugins: ['@rafaelgomesxyz/i18n-json'],
extends: ['plugin:@rafaelgomesxyz/i18n-json/recommended'],
rules: {
'@rafaelgssa/local/identical-keys': [
'@rafaelgomesxyz/i18n-json/identical-keys': [
'error',
{
filePath: path.resolve('./src/_locales/en/messages.json'),
Expand All @@ -23,7 +23,7 @@ module.exports = {
],
},
settings: {
'@rafaelgssa/local/ignore-keys': ['*.description', '*.placeholders'],
'@rafaelgomesxyz/i18n-json/ignore-keys': ['*.description', '*.placeholders'],
},
},
{
Expand All @@ -49,7 +49,7 @@ module.exports = {
},
{
files: ['**/*.{ts,tsx}'],
plugins: ['@rafaelgssa/local', 'prefer-arrow'],
plugins: ['prefer-arrow'],
extends: [
'eslint:recommended',
'plugin:react/recommended',
Expand Down
10 changes: 5 additions & 5 deletions .eslintrc.typed.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@ module.exports = {
overrides: [
{
files: ['**/_locales/**/*.json'],
plugins: ['@rafaelgssa/local'],
extends: ['plugin:@rafaelgssa/local/recommended'],
plugins: ['@rafaelgomesxyz/i18n-json'],
extends: ['plugin:@rafaelgomesxyz/i18n-json/recommended'],
rules: {
'@rafaelgssa/local/identical-keys': [
'@rafaelgomesxyz/i18n-json/identical-keys': [
'error',
{
filePath: path.resolve('./src/_locales/en/messages.json'),
Expand All @@ -23,7 +23,7 @@ module.exports = {
],
},
settings: {
'@rafaelgssa/local/ignore-keys': ['*.description', '*.placeholders'],
'@rafaelgomesxyz/i18n-json/ignore-keys': ['*.description', '*.placeholders'],
},
},
{
Expand Down Expand Up @@ -53,7 +53,7 @@ module.exports = {
tsconfigRootDir: __dirname,
project: ['./tsconfig.json'],
},
plugins: ['@rafaelgssa/local', 'prefer-arrow'],
plugins: ['prefer-arrow'],
extends: [
'eslint:recommended',
'plugin:react/recommended',
Expand Down
10 changes: 0 additions & 10 deletions eslint-local.js

This file was deleted.

63 changes: 0 additions & 63 deletions local-eslint-plugins/eslint-plugin-i18n-json/formatter.js

This file was deleted.

50 changes: 0 additions & 50 deletions local-eslint-plugins/eslint-plugin-i18n-json/index.js

This file was deleted.

Loading

0 comments on commit 74311ca

Please sign in to comment.