@mitm/eslint-config
Advanced tools
Comparing version 1.1.0 to 1.2.0
@@ -68,3 +68,2 @@ export const rules: { | ||
'space-in-parens': string[]; | ||
'space-unary-ops': string[]; | ||
'spaced-comment': (string | { | ||
@@ -99,2 +98,6 @@ markers: string[]; | ||
})[]; | ||
'no-restricted-globals': (string | { | ||
name: string; | ||
message: string; | ||
})[]; | ||
}; |
11
index.js
@@ -77,3 +77,2 @@ "use strict"; | ||
'space-in-parens': ['warn'], | ||
'space-unary-ops': ['warn'], | ||
'spaced-comment': ['warn', 'always', { markers: ['=>'] }], | ||
@@ -99,5 +98,13 @@ 'switch-colon-spacing': ['warn'], | ||
'template-curly-spacing': ['warn'], | ||
'yield-star-spacing': ['warn', { before: true, after: true }] | ||
'yield-star-spacing': ['warn', { before: true, after: true }], | ||
// Warn for "d" functions usage of @mitm/common debug utilities | ||
'no-restricted-globals': [ | ||
'warn', | ||
{ | ||
"name": "d", | ||
"message": "@mitm/common: don't forget to remove this - happy debugging!" | ||
} | ||
] | ||
} | ||
}; | ||
//# sourceMappingURL=index.js.map |
{ | ||
"name": "@mitm/eslint-config", | ||
"version": "1.1.0", | ||
"version": "1.2.0", | ||
"main": "./index.js", | ||
"typings": "./index.d.ts" | ||
} |
@@ -160,3 +160,2 @@ declare const _extends: string[]; | ||
'space-in-parens': string[]; | ||
'space-unary-ops': string[]; | ||
'spaced-comment': (string | { | ||
@@ -191,2 +190,6 @@ markers: string[]; | ||
})[]; | ||
'no-restricted-globals': (string | { | ||
name: string; | ||
message: string; | ||
})[]; | ||
}; |
Sorry, the diff of this file is not supported yet
26065
492