Skip to content

Commit be2ba7f

Browse files
committed
Add quotes settings to eslintrc.
This matches prettier's settings, but should now warn in CI too.
1 parent 3da9aca commit be2ba7f

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

lib/matplotlib/backends/web_backend/.eslintrc.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,12 +18,14 @@ module.exports = {
1818
argsIgnorePattern: "^_",
1919
},
2020
],
21+
quotes: ["error", "double", { avoidEscape: true }],
2122
},
2223
overrides: [
2324
{
2425
files: "js/**/*.js",
2526
rules: {
2627
indent: ["error", 4, { SwitchCase: 1 }],
28+
quotes: ["error", "single", { avoidEscape: true }],
2729
},
2830
},
2931
],

0 commit comments

Comments
 (0)