Skip to content

Commit 5f4f3ce

Browse files
enthropsmichalsnik
authored andcommitted
Fix typos: it's -> its (#218)
1 parent e914fe2 commit 5f4f3ce

File tree

5 files changed

+7
-7
lines changed

5 files changed

+7
-7
lines changed

lib/recommended-rules.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/*
22
* IMPORTANT!
33
* This file has been automatically generated,
4-
* in order to update it's content execute "npm run update"
4+
* in order to update its content execute "npm run update"
55
*/
66
module.exports = {
77
"vue/attribute-hyphenation": "off",

lib/rules/require-prop-types.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ function create (context) {
3939
if (!hasType) {
4040
context.report({
4141
node: cp,
42-
message: 'Prop "{{name}}" should define at least it\'s type.',
42+
message: 'Prop "{{name}}" should define at least its type.',
4343
data: {
4444
name: cp.key.name
4545
}

lib/utils/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -247,7 +247,7 @@ module.exports = {
247247
},
248248

249249
/**
250-
* Parse member expression node to get array with all of it's parts
250+
* Parse member expression node to get array with all of its parts
251251
* @param {ASTNode} MemberExpression
252252
* @returns {Array}
253253
*/

tests/lib/rules/require-prop-types.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ ruleTester.run('require-prop-types', rule, {
111111
`,
112112
parserOptions: { ecmaVersion: 6, sourceType: 'module' },
113113
errors: [{
114-
message: 'Prop "foo" should define at least it\'s type.',
114+
message: 'Prop "foo" should define at least its type.',
115115
line: 4
116116
}]
117117
},
@@ -128,7 +128,7 @@ ruleTester.run('require-prop-types', rule, {
128128
`,
129129
parserOptions: { ecmaVersion: 6, sourceType: 'module' },
130130
errors: [{
131-
message: 'Prop "foo" should define at least it\'s type.',
131+
message: 'Prop "foo" should define at least its type.',
132132
line: 4
133133
}]
134134
},
@@ -143,7 +143,7 @@ ruleTester.run('require-prop-types', rule, {
143143
`,
144144
parserOptions: { ecmaVersion: 6, sourceType: 'module' },
145145
errors: [{
146-
message: 'Prop "foo" should define at least it\'s type.',
146+
message: 'Prop "foo" should define at least its type.',
147147
line: 4
148148
}]
149149
}

tools/update-rules.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ const recommendedRules = rules.reduce((obj, entry) => {
9494
const recommendedRulesContent = `/*
9595
* IMPORTANT!
9696
* This file has been automatically generated,
97-
* in order to update it's content execute "npm run update"
97+
* in order to update its content execute "npm run update"
9898
*/
9999
module.exports = ${JSON.stringify(recommendedRules, null, 2)}`
100100

0 commit comments

Comments
 (0)