@@ -4,27 +4,27 @@ import type { Linter } from "eslint";
44 * Rules for managing spacing within brackets.
55 */
66const config : Linter . Config = {
7- files : [ "**/*.{js,mjs,cjs,ts,jsx,tsx}" ] ,
7+ files : [ "**/*.{js,mjs,cjs,ts,jsx,tsx}" ] ,
88 rules : {
99 /**
1010 * Requires spacing inside curly braces.
1111 * Aligned with Prettier (bracketSpacing: true).
1212 * @see {@link https://eslint.org/docs/latest/rules/object-curly-spacing object-curly-spacing }
1313 */
14- "object-curly-spacing" : [ "warn" , "always" ] ,
14+ "object-curly-spacing" : [ "warn" , "always" ] ,
1515
1616 /**
1717 * Requires spacing inside square brackets.
1818 * Note: Prettier does not support this and always removes spacing for arrays.
1919 * @see {@link https://eslint.org/docs/latest/rules/array-bracket-spacing array-bracket-spacing }
2020 */
21- "array-bracket-spacing" : [ "warn" , "always" ] ,
21+ "array-bracket-spacing" : [ "warn" , "always" ] ,
2222
2323 /**
2424 * Requires spacing inside computed properties.
2525 * @see {@link https://eslint.org/docs/latest/rules/computed-property-spacing computed-property-spacing }
2626 */
27- "computed-property-spacing" : [ "warn" , "always" ] ,
27+ "computed-property-spacing" : [ "warn" , "always" ] ,
2828
2929 /**
3030 * Requires a blank line between constants and blocks.
@@ -34,13 +34,13 @@ const config: Linter.Config = {
3434 "warn" ,
3535 {
3636 blankLine : "always" ,
37- prev : [ "const" , "let" , "var" ] ,
38- next : [ "if" , "for" , "while" , "switch" , "try" , "do" , "block" , "block-like" ]
37+ prev : [ "const" , "let" , "var" ] ,
38+ next : [ "if" , "for" , "while" , "switch" , "try" , "do" , "block" , "block-like" ]
3939 } ,
4040 {
4141 blankLine : "always" ,
42- prev : [ "if" , "for" , "while" , "switch" , "try" , "do" , "block" , "block-like" ] ,
43- next : [ "const" , "let" , "var" ]
42+ prev : [ "if" , "for" , "while" , "switch" , "try" , "do" , "block" , "block-like" ] ,
43+ next : [ "const" , "let" , "var" ]
4444 }
4545 ]
4646 }
0 commit comments