@ntnyq/eslint-config 3.0.0 → 3.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs +4 -0
- package/dist/index.js +4 -0
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -913,6 +913,10 @@ var sort = (options = {}) => {
|
|
|
913
913
|
configs.push({
|
|
914
914
|
name: "ntnyq/sort/i18n-locale",
|
|
915
915
|
files: ["**/{locales,i18n}/*.json", "**/{locales,i18n}/*.y?(a)ml"],
|
|
916
|
+
plugins: {
|
|
917
|
+
jsonc: import_eslint_plugin_jsonc.default,
|
|
918
|
+
yml: import_eslint_plugin_yml.default
|
|
919
|
+
},
|
|
916
920
|
rules: {
|
|
917
921
|
"jsonc/sort-keys": [
|
|
918
922
|
"error",
|
package/dist/index.js
CHANGED
|
@@ -788,6 +788,10 @@ var sort = (options = {}) => {
|
|
|
788
788
|
configs.push({
|
|
789
789
|
name: "ntnyq/sort/i18n-locale",
|
|
790
790
|
files: ["**/{locales,i18n}/*.json", "**/{locales,i18n}/*.y?(a)ml"],
|
|
791
|
+
plugins: {
|
|
792
|
+
jsonc: default10,
|
|
793
|
+
yml: default4
|
|
794
|
+
},
|
|
791
795
|
rules: {
|
|
792
796
|
"jsonc/sort-keys": [
|
|
793
797
|
"error",
|