eslint-plugin-putout 25.1.2 → 25.2.0
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/lib/index.mjs +4 -2
- package/lib/json.mjs +10 -0
- package/package.json +1 -1
package/lib/index.mjs
CHANGED
|
@@ -108,7 +108,8 @@ export const safe = [
|
|
|
108
108
|
rules: safeRules,
|
|
109
109
|
}],
|
|
110
110
|
},
|
|
111
|
-
}
|
|
111
|
+
},
|
|
112
|
+
];
|
|
112
113
|
|
|
113
114
|
export const safeAlign = [
|
|
114
115
|
...n,
|
|
@@ -117,7 +118,8 @@ export const safeAlign = [
|
|
|
117
118
|
...safe.rules,
|
|
118
119
|
'putout/align-spaces': 'error',
|
|
119
120
|
},
|
|
120
|
-
}
|
|
121
|
+
},
|
|
122
|
+
];
|
|
121
123
|
|
|
122
124
|
export const esm = {
|
|
123
125
|
...n,
|
package/lib/json.mjs
CHANGED
|
@@ -56,4 +56,14 @@ export default [{
|
|
|
56
56
|
'@stylistic/js/indent': 'off',
|
|
57
57
|
'comma-spacing': 'off',
|
|
58
58
|
},
|
|
59
|
+
}, {
|
|
60
|
+
name: 'putout: json: filesystem',
|
|
61
|
+
files: ['**/.filesystem.json'],
|
|
62
|
+
plugins: {
|
|
63
|
+
'@stylistic': stylisticJs,
|
|
64
|
+
putout,
|
|
65
|
+
},
|
|
66
|
+
rules: {
|
|
67
|
+
'putout/objects-braces-inside-array': 'off',
|
|
68
|
+
},
|
|
59
69
|
}];
|