@exbotanical/eslint-config 2.0.0 → 2.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.js +13 -0
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1491,6 +1491,18 @@ var eslint_config_prettier_default = {
|
|
|
1491
1491
|
};
|
|
1492
1492
|
|
|
1493
1493
|
// src/configs/prettier.ts
|
|
1494
|
+
var FORMAT_PLUGIN_RULES = {
|
|
1495
|
+
"jsonc/comma-dangle": "off",
|
|
1496
|
+
"jsonc/indent": "off",
|
|
1497
|
+
"jsonc/quote-props": "off",
|
|
1498
|
+
"jsonc/quotes": "off",
|
|
1499
|
+
"toml/array-bracket-spacing": "off",
|
|
1500
|
+
"toml/array-element-newline": "off",
|
|
1501
|
+
"toml/indent": "off",
|
|
1502
|
+
"yaml/flow-mapping-curly-spacing": "off",
|
|
1503
|
+
"yaml/indent": "off",
|
|
1504
|
+
"yaml/quotes": "off"
|
|
1505
|
+
};
|
|
1494
1506
|
var PrettierConfig = class extends CustomConfig {
|
|
1495
1507
|
namespace = "prettier";
|
|
1496
1508
|
constructor(options = {}) {
|
|
@@ -1502,6 +1514,7 @@ var PrettierConfig = class extends CustomConfig {
|
|
|
1502
1514
|
...eslint_config_prettier_default,
|
|
1503
1515
|
rules: {
|
|
1504
1516
|
...eslint_config_prettier_default.rules,
|
|
1517
|
+
...FORMAT_PLUGIN_RULES,
|
|
1505
1518
|
...this.options.overrides
|
|
1506
1519
|
}
|
|
1507
1520
|
})
|
package/package.json
CHANGED