Permalink
Browse files

New: Add `Compatibility` category

Ref #1507
  • Loading branch information...
molant committed Jan 15, 2019
1 parent 46e0e83 commit 5e898c84fd8f7a3cda152c57eea9b0dc683dfceb
@@ -164,7 +164,7 @@ import * as eslint from 'eslint';
export default class ScriptSemiColonHint implements IHint {
public static readonly meta: HintMetadata = {
docs: {
category: Category.interoperability,
category: Category.compatibility,
description: `Check if your scripts use semicolon`
},
id: 'script-semicolon',
@@ -25,7 +25,7 @@ related to this new hint. A complete list of the questions is shown below:
* What’s the name of this new hint?
* Please select the category of this new hint:
* accessibility
* interoperability
* compatibility
* performance
* pwa
* security
@@ -2,7 +2,7 @@

* [Accessibility (a11y)](#accessibility)
* [Development](#development)
* [Interoperability](#interoperability)
* [Compatibility](#compatibility)
* [Other](#other)
* [Performance](#performance)
* [PWAs](#pwas)
@@ -18,7 +18,7 @@
* [`typescript-config`](../../../../hint-typescript-config/README.md)
* [`webpack-config`](../../../../hint-webpack-config/README.md)

## Interoperability
## Compatibility

* [`content-type`](../../../../hint-content-type/README.md)
* [`highest-available-document-mode`](../../../../hint-highest-available-document-mode/README.md)
@@ -87,7 +87,7 @@
"a11y",
"accessibility",
"best-practices",
"interoperability",
"compatibility",
"lint",
"performance",
"security"
@@ -1,7 +1,8 @@
export enum Category {
accessibility = 'accessibility',
development = 'development',
interoperability = 'interoperability',
compatibility = 'compatibility',
interoperability = 'interoperability', // Deprecated, to be removed in the next major release
other = 'other',
pwa = 'pwa',
performance = 'performance',

0 comments on commit 5e898c8

Please sign in to comment.