@rebilly/eslint-config 4.17.3 → 4.17.5

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.
Files changed (2) hide show
  1. package/package.json +3 -2
  2. package/prettier.cjs +13 -0
package/package.json CHANGED
@@ -7,14 +7,15 @@
7
7
  "url": "git+https://github.com/Rebilly/rebilly.git"
8
8
  },
9
9
  "main": "index.cjs",
10
- "version": "4.17.3",
10
+ "version": "4.17.5",
11
11
  "scripts": {
12
12
  "build": "echo 'Building ESLint config'"
13
13
  },
14
14
  "files": [
15
15
  "index.cjs",
16
16
  "typescript.cjs",
17
- "vue.cjs"
17
+ "vue.cjs",
18
+ "prettier.cjs"
18
19
  ],
19
20
  "publishConfig": {
20
21
  "access": "public"
package/prettier.cjs ADDED
@@ -0,0 +1,13 @@
1
+ const prettier = require('eslint-config-prettier');
2
+
3
+ /**
4
+ * Extends eslint-config-prettier with rule overrides that should
5
+ * be enforced by ESLint even though Prettier also handles them.
6
+ */
7
+ module.exports = {
8
+ ...prettier,
9
+ rules: {
10
+ ...prettier.rules,
11
+ quotes: ['error', 'single', { avoidEscape: true, allowTemplateLiterals: true }],
12
+ },
13
+ };