Skip to content

Commit

Permalink
Update @mysticatea/eslint-plugin to the latest version (#63)
Browse files Browse the repository at this point in the history
* chore(package): update @mysticatea/eslint-plugin to version 8.0.1

Closes #62

* chore(package): update lockfile package-lock.json

* Fixed lint errors

* update package.json

* fixed linterror
  • Loading branch information
ota-meshi committed Dec 18, 2018
1 parent 232e49d commit 07245c6
Show file tree
Hide file tree
Showing 29 changed files with 354 additions and 887 deletions.
1 change: 1 addition & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ module.exports = {
],
plugins: ["es"],
rules: {
'require-jsdoc': 'error',
"@mysticatea/eslint-plugin/report-message-format": ["error", "[^a-z].*\\.$"],
"@mysticatea/eslint-plugin/require-meta-docs-url": [
"error",
Expand Down
1 change: 1 addition & 0 deletions lib/rules/attribute-name-casing.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ module.exports = {
"https://github.com/ota-meshi/eslint-plugin-lodash-template/blob/v0.11.0/docs/rules/attribute-name-casing.md",
},
fixable: "code",
type: "suggestion",
schema: [
{
type: "object",
Expand Down
1 change: 1 addition & 0 deletions lib/rules/attribute-value-quote.js
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,7 @@ module.exports = {
"https://github.com/ota-meshi/eslint-plugin-lodash-template/blob/v0.11.0/docs/rules/attribute-value-quote.md",
},
fixable: "code",
type: "suggestion",
schema: [
{
enum: ["double", "single", "either", "prefer-double"],
Expand Down
1 change: 1 addition & 0 deletions lib/rules/element-name-casing.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ module.exports = {
"https://github.com/ota-meshi/eslint-plugin-lodash-template/blob/v0.11.0/docs/rules/element-name-casing.md",
},
fixable: "code",
type: "suggestion",
schema: [],
messages: {
unexpected: "Element name `{{name}}` must be 'kebab-case'.",
Expand Down
1 change: 1 addition & 0 deletions lib/rules/html-closing-bracket-newline.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ module.exports = {
"https://github.com/ota-meshi/eslint-plugin-lodash-template/blob/v0.11.0/docs/rules/html-closing-bracket-newline.md",
},
fixable: "whitespace",
type: "layout",
schema: [
{
type: "object",
Expand Down
1 change: 1 addition & 0 deletions lib/rules/html-closing-bracket-spacing.js
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ module.exports = {
url:
"https://github.com/ota-meshi/eslint-plugin-lodash-template/blob/v0.11.0/docs/rules/html-closing-bracket-spacing.md",
},
type: "layout",
schema: [
{
type: "object",
Expand Down
1 change: 1 addition & 0 deletions lib/rules/html-comment-content-newline.js
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,7 @@ module.exports = {
"https://github.com/ota-meshi/eslint-plugin-lodash-template/blob/v0.11.0/docs/rules/html-comment-content-newline.md",
},
fixable: "whitespace",
type: "layout",
schema: [
{
type: "object",
Expand Down
1 change: 1 addition & 0 deletions lib/rules/html-comment-spacing.js
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ module.exports = {
"https://github.com/ota-meshi/eslint-plugin-lodash-template/blob/v0.11.0/docs/rules/html-comment-spacing.md",
},
fixable: "whitespace",
type: "layout",
schema: [
{
enum: ["always", "never"],
Expand Down
1 change: 1 addition & 0 deletions lib/rules/html-content-newline.js
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,7 @@ module.exports = {
"https://github.com/ota-meshi/eslint-plugin-lodash-template/blob/v0.11.0/docs/rules/html-content-newline.md",
},
fixable: "whitespace",
type: "layout",
schema: [
{
type: "object",
Expand Down
1 change: 1 addition & 0 deletions lib/rules/html-indent.js
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,7 @@ module.exports = {
"https://github.com/ota-meshi/eslint-plugin-lodash-template/blob/v0.11.0/docs/rules/html-indent.md",
},
fixable: "whitespace",
type: "layout",
schema: [
{
anyOf: [{ type: "integer", minimum: 1 }, { enum: ["tab"] }],
Expand Down
1 change: 1 addition & 0 deletions lib/rules/max-attributes-per-line.js
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ module.exports = {
"https://github.com/ota-meshi/eslint-plugin-lodash-template/blob/v0.11.0/docs/rules/max-attributes-per-line.md",
},
fixable: "whitespace",
type: "layout",
schema: [
{
type: "object",
Expand Down
1 change: 1 addition & 0 deletions lib/rules/no-duplicate-attributes.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ module.exports = {
"https://github.com/ota-meshi/eslint-plugin-lodash-template/blob/v0.11.0/docs/rules/no-duplicate-attributes.md",
},
fixable: null,
type: "problem",
schema: [],
messages: {
duplicate: 'Duplicate attribute "{{name}}".',
Expand Down
1 change: 1 addition & 0 deletions lib/rules/no-empty-template-tag.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ module.exports = {
"https://github.com/ota-meshi/eslint-plugin-lodash-template/blob/v0.11.0/docs/rules/no-empty-template-tag.md",
},
fixable: null,
type: "suggestion",
schema: [],
messages: {
missing: "Empty micro-template tag.",
Expand Down
1 change: 1 addition & 0 deletions lib/rules/no-html-comments.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ module.exports = {
url:
"https://github.com/ota-meshi/eslint-plugin-lodash-template/blob/v0.11.0/docs/rules/no-html-comments.md",
},
type: "suggestion",
schema: [],
messages: {
unexpected: "HTML comment are forbidden.",
Expand Down
1 change: 1 addition & 0 deletions lib/rules/no-invalid-template-interpolation.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ module.exports = {
"https://github.com/ota-meshi/eslint-plugin-lodash-template/blob/v0.11.0/docs/rules/no-invalid-template-interpolation.md",
},
fixable: null,
type: "problem",
schema: [],
messages: {
missingStatement: "Empty statement.",
Expand Down
1 change: 1 addition & 0 deletions lib/rules/no-irregular-whitespace.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ module.exports = {
"https://github.com/ota-meshi/eslint-plugin-lodash-template/blob/v0.11.0/docs/rules/no-irregular-whitespace.md",
},
fixable: "whitespace",
type: "problem",
schema: [
{
type: "object",
Expand Down
1 change: 1 addition & 0 deletions lib/rules/no-multi-spaces-in-html-tag.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ module.exports = {
"https://github.com/ota-meshi/eslint-plugin-lodash-template/blob/v0.11.0/docs/rules/no-multi-spaces-in-html-tag.md",
},
fixable: "whitespace",
type: "layout",
schema: [],
messages: {
unexpected: "Multiple spaces found before `{{displayValue}}`.",
Expand Down
1 change: 1 addition & 0 deletions lib/rules/no-multi-spaces-in-script.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ module.exports = {
"https://github.com/ota-meshi/eslint-plugin-lodash-template/blob/v0.11.0/docs/rules/no-multi-spaces-in-script.md",
},
fixable: "whitespace",
type: "layout",
schema: [
{
type: "object",
Expand Down
1 change: 1 addition & 0 deletions lib/rules/no-semi-in-template-interpolation.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ module.exports = {
"https://github.com/ota-meshi/eslint-plugin-lodash-template/blob/v0.11.0/docs/rules/no-semi-in-template-interpolation.md",
},
fixable: "code",
type: "problem",
schema: [],
messages: {
unexpected: "Unnecessary semicolon.",
Expand Down
1 change: 1 addition & 0 deletions lib/rules/no-space-attribute-equal-sign.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ module.exports = {
"https://github.com/ota-meshi/eslint-plugin-lodash-template/blob/v0.11.0/docs/rules/no-space-attribute-equal-sign.md",
},
fixable: "whitespace",
type: "layout",
schema: [],
messages: {
unexpected: "Equal signs in must not be spaced.",
Expand Down
1 change: 1 addition & 0 deletions lib/rules/no-template-tag-in-start-tag.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ module.exports = {
"https://github.com/ota-meshi/eslint-plugin-lodash-template/blob/v0.11.0/docs/rules/no-template-tag-in-start-tag.md",
},
fixable: null,
type: "suggestion",
schema: [
{
type: "object",
Expand Down
1 change: 1 addition & 0 deletions lib/rules/no-warning-html-comments.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ module.exports = {
url:
"https://github.com/ota-meshi/eslint-plugin-lodash-template/blob/v0.11.0/docs/rules/no-warning-html-comments.md",
},
type: "suggestion",
schema: [
{
type: "object",
Expand Down
1 change: 1 addition & 0 deletions lib/rules/plugin-option.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ module.exports = {
url:
"https://github.com/ota-meshi/eslint-plugin-lodash-template/blob/v0.11.0/docs/rules/plugin-option.md",
},
type: "suggestion",
schema: [
{
type: "object",
Expand Down
1 change: 1 addition & 0 deletions lib/rules/prefer-escape-template-interpolations.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ module.exports = {
"https://github.com/ota-meshi/eslint-plugin-lodash-template/blob/v0.11.0/docs/rules/prefer-escape-template-interpolations.md",
},
fixable: null,
type: "suggestion",
schema: [],
messages: {
preferEscape:
Expand Down
1 change: 1 addition & 0 deletions lib/rules/script-indent.js
Original file line number Diff line number Diff line change
Expand Up @@ -148,6 +148,7 @@ module.exports = {
"https://github.com/ota-meshi/eslint-plugin-lodash-template/blob/v0.11.0/docs/rules/script-indent.md",
},
fixable: "whitespace",
type: "layout",
schema: [
{
anyOf: [{ type: "integer", minimum: 1 }, { enum: ["tab"] }],
Expand Down
1 change: 1 addition & 0 deletions lib/rules/template-tag-spacing.js
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ module.exports = {
"https://github.com/ota-meshi/eslint-plugin-lodash-template/blob/v0.11.0/docs/rules/template-tag-spacing.md",
},
fixable: "whitespace",
type: "layout",
schema: [
{
enum: ["always", "never"],
Expand Down
Loading

0 comments on commit 07245c6

Please sign in to comment.