Skip to content

Commit

Permalink
[BUGFIX] Supprime le plugin i18n-json qui ne fonctionne pas (#23)
Browse files Browse the repository at this point in the history
  • Loading branch information
yannbertrand authored May 29, 2024
1 parent 9f638e5 commit cd6b0e4
Show file tree
Hide file tree
Showing 5 changed files with 1 addition and 642 deletions.
9 changes: 0 additions & 9 deletions config.js
Original file line number Diff line number Diff line change
@@ -1,11 +1,9 @@
const { resolve } = require('node:path');

const js = require('@eslint/js');
const { fixupPluginRules } = require('@eslint/compat');
const comments = require('@eslint-community/eslint-plugin-eslint-comments/configs');
const eslintPluginYml = require('eslint-plugin-yml');
const simpleImportSort = require('eslint-plugin-simple-import-sort');
const i18nJson = require('eslint-plugin-i18n-json');
const pixPlugin = require('./index.js');

module.exports = [
Expand All @@ -14,7 +12,6 @@ module.exports = [
comments.recommended,
{
plugins: {
'i18n-json': fixupPluginRules(i18nJson),
'@1024pix': pixPlugin,
'simple-import-sort': simpleImportSort,
},
Expand Down Expand Up @@ -96,12 +93,6 @@ module.exports = [
avoidEscape: true,
},
],
'i18n-json/sorted-keys': [
'error',
{
sortFunctionPath: resolve(__dirname, './json/sort-translations.js'),
},
],
'@1024pix/no-sinon-stub-with-args-oneliner': 'error',
},
},
Expand Down
16 changes: 0 additions & 16 deletions json/sort-translations.js

This file was deleted.

73 changes: 0 additions & 73 deletions json/sort-translations.test.js

This file was deleted.

Loading

0 comments on commit cd6b0e4

Please sign in to comment.