eslint-plugin-mgw-eslint-rules 1.0.2 → 1.1.2

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.
@@ -9,8 +9,8 @@ module.exports = {
9
9
  node.typeAnnotation.typeAnnotation
10
10
  ) {
11
11
  context.report({
12
- node: node.typeAnnotation,
13
- message: `Type ${node.typeAnnotation.typeAnnotation} on a readonly propertie trivially inferred from a ${node.typeAnnotation.typeAnnotation} literal, remove type annotation.`,
12
+ node,
13
+ message: 'Type trivially inferred, remove type annotation on readonly properties.',
14
14
  });
15
15
  }
16
16
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "eslint-plugin-mgw-eslint-rules",
3
- "version": "1.0.2",
3
+ "version": "1.1.2",
4
4
  "description": "Custom eslint rules of MegaO",
5
5
  "main": "index.js",
6
6
  "scripts": {