Skip to content

Commit

Permalink
Fix typos: it's -> its (#218)
Browse files Browse the repository at this point in the history
  • Loading branch information
enthrops authored and michalsnik committed Nov 5, 2017
1 parent e914fe2 commit 5f4f3ce
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion lib/recommended-rules.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
* IMPORTANT!
* This file has been automatically generated,
* in order to update it's content execute "npm run update"
* in order to update its content execute "npm run update"
*/
module.exports = {
"vue/attribute-hyphenation": "off",
Expand Down
2 changes: 1 addition & 1 deletion lib/rules/require-prop-types.js
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ function create (context) {
if (!hasType) {
context.report({
node: cp,
message: 'Prop "{{name}}" should define at least it\'s type.',
message: 'Prop "{{name}}" should define at least its type.',
data: {
name: cp.key.name
}
Expand Down
2 changes: 1 addition & 1 deletion lib/utils/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -247,7 +247,7 @@ module.exports = {
},

/**
* Parse member expression node to get array with all of it's parts
* Parse member expression node to get array with all of its parts
* @param {ASTNode} MemberExpression
* @returns {Array}
*/
Expand Down
6 changes: 3 additions & 3 deletions tests/lib/rules/require-prop-types.js
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ ruleTester.run('require-prop-types', rule, {
`,
parserOptions: { ecmaVersion: 6, sourceType: 'module' },
errors: [{
message: 'Prop "foo" should define at least it\'s type.',
message: 'Prop "foo" should define at least its type.',
line: 4
}]
},
Expand All @@ -128,7 +128,7 @@ ruleTester.run('require-prop-types', rule, {
`,
parserOptions: { ecmaVersion: 6, sourceType: 'module' },
errors: [{
message: 'Prop "foo" should define at least it\'s type.',
message: 'Prop "foo" should define at least its type.',
line: 4
}]
},
Expand All @@ -143,7 +143,7 @@ ruleTester.run('require-prop-types', rule, {
`,
parserOptions: { ecmaVersion: 6, sourceType: 'module' },
errors: [{
message: 'Prop "foo" should define at least it\'s type.',
message: 'Prop "foo" should define at least its type.',
line: 4
}]
}
Expand Down
2 changes: 1 addition & 1 deletion tools/update-rules.js
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ const recommendedRules = rules.reduce((obj, entry) => {
const recommendedRulesContent = `/*
* IMPORTANT!
* This file has been automatically generated,
* in order to update it's content execute "npm run update"
* in order to update its content execute "npm run update"
*/
module.exports = ${JSON.stringify(recommendedRules, null, 2)}`

Expand Down

0 comments on commit 5f4f3ce

Please sign in to comment.