Skip to content

Fix typos: it's -> its #218

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Nov 5, 2017
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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