Skip to content

Commit

Permalink
version up 0.12
Browse files Browse the repository at this point in the history
  • Loading branch information
ota-meshi committed Dec 18, 2018
1 parent 6f1ef27 commit be68937
Show file tree
Hide file tree
Showing 28 changed files with 30 additions and 29 deletions.
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,14 @@

[![NPM license](https://img.shields.io/npm/l/eslint-plugin-lodash-template.svg)](https://www.npmjs.com/package/eslint-plugin-lodash-template)
[![NPM version](https://img.shields.io/npm/v/eslint-plugin-lodash-template.svg)](https://www.npmjs.com/package/eslint-plugin-lodash-template)
[![NPM downloads](https://img.shields.io/badge/dynamic/json.svg?label=downloads&colorB=green&prefix=&suffix=/day&query=$.downloads&uri=https://api.npmjs.org//downloads/point/last-day/eslint-plugin-lodash-template&maxAge=3600)](http://www.npmtrends.com/eslint-plugin-lodash-template)
[![NPM downloads](https://img.shields.io/badge/dynamic/json.svg?label=downloads&colorB=green&suffix=/day&query=$.downloads&uri=https://api.npmjs.org//downloads/point/last-day/eslint-plugin-lodash-template&maxAge=3600)](http://www.npmtrends.com/eslint-plugin-lodash-template)
[![NPM downloads](https://img.shields.io/npm/dw/eslint-plugin-lodash-template.svg)](http://www.npmtrends.com/eslint-plugin-lodash-template)
[![NPM downloads](https://img.shields.io/npm/dm/eslint-plugin-lodash-template.svg)](http://www.npmtrends.com/eslint-plugin-lodash-template)
[![NPM downloads](https://img.shields.io/npm/dy/eslint-plugin-lodash-template.svg)](http://www.npmtrends.com/eslint-plugin-lodash-template)
[![NPM downloads](https://img.shields.io/npm/dt/eslint-plugin-lodash-template.svg)](http://www.npmtrends.com/eslint-plugin-lodash-template)
[![Build Status](https://travis-ci.org/ota-meshi/eslint-plugin-lodash-template.svg?branch=master)](https://travis-ci.org/ota-meshi/eslint-plugin-lodash-template)
[![Coverage Status](https://coveralls.io/repos/github/ota-meshi/eslint-plugin-lodash-template/badge.svg?branch=master)](https://coveralls.io/github/ota-meshi/eslint-plugin-lodash-template?branch=master) [![Greenkeeper badge](https://badges.greenkeeper.io/ota-meshi/eslint-plugin-lodash-template.svg)](https://greenkeeper.io/)
[![Coverage Status](https://coveralls.io/repos/github/ota-meshi/eslint-plugin-lodash-template/badge.svg?branch=master)](https://coveralls.io/github/ota-meshi/eslint-plugin-lodash-template?branch=master)
[![Greenkeeper badge](https://badges.greenkeeper.io/ota-meshi/eslint-plugin-lodash-template.svg)](https://greenkeeper.io/)

ESLint plugin for John Resig-style micro templating.

Expand Down
2 changes: 1 addition & 1 deletion lib/rules/attribute-name-casing.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ module.exports = {
"enforce HTML attribute name casing. (ex. :ok: `<div foo-bar>` :ng: `<div fooBar>` `<div FOO-BAR>`)",
category: "recommended-with-html",
url:
"https://github.com/ota-meshi/eslint-plugin-lodash-template/blob/v0.11.0/docs/rules/attribute-name-casing.md",
"https://github.com/ota-meshi/eslint-plugin-lodash-template/blob/v0.12.0/docs/rules/attribute-name-casing.md",
},
fixable: "code",
type: "suggestion",
Expand Down
2 changes: 1 addition & 1 deletion lib/rules/attribute-value-quote.js
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ module.exports = {
"enforce quotes style of HTML attributes. (ex. :ok: `<div class=\"abc\">` :ng: `<div class='abc'>` `<div class=abc>`)",
category: "recommended-with-html",
url:
"https://github.com/ota-meshi/eslint-plugin-lodash-template/blob/v0.11.0/docs/rules/attribute-value-quote.md",
"https://github.com/ota-meshi/eslint-plugin-lodash-template/blob/v0.12.0/docs/rules/attribute-value-quote.md",
},
fixable: "code",
type: "suggestion",
Expand Down
2 changes: 1 addition & 1 deletion lib/rules/element-name-casing.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ module.exports = {
"enforce HTML element name casing. (ex. :ok: `<xxx-element>` :ng: `<xxxElement>` `<DIV>`)",
category: "recommended-with-html",
url:
"https://github.com/ota-meshi/eslint-plugin-lodash-template/blob/v0.11.0/docs/rules/element-name-casing.md",
"https://github.com/ota-meshi/eslint-plugin-lodash-template/blob/v0.12.0/docs/rules/element-name-casing.md",
},
fixable: "code",
type: "suggestion",
Expand Down
2 changes: 1 addition & 1 deletion lib/rules/html-closing-bracket-newline.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ module.exports = {
"require or disallow a line break before tag's closing brackets",
category: "recommended-with-html",
url:
"https://github.com/ota-meshi/eslint-plugin-lodash-template/blob/v0.11.0/docs/rules/html-closing-bracket-newline.md",
"https://github.com/ota-meshi/eslint-plugin-lodash-template/blob/v0.12.0/docs/rules/html-closing-bracket-newline.md",
},
fixable: "whitespace",
type: "layout",
Expand Down
2 changes: 1 addition & 1 deletion lib/rules/html-closing-bracket-spacing.js
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ module.exports = {
"require or disallow a space before tag's closing brackets. (ex. :ok: `<input>` `<input·/>` :ng: `<input·>` `<input/>`)",
category: "recommended-with-html",
url:
"https://github.com/ota-meshi/eslint-plugin-lodash-template/blob/v0.11.0/docs/rules/html-closing-bracket-spacing.md",
"https://github.com/ota-meshi/eslint-plugin-lodash-template/blob/v0.12.0/docs/rules/html-closing-bracket-spacing.md",
},
type: "layout",
schema: [
Expand Down
2 changes: 1 addition & 1 deletion lib/rules/html-comment-content-newline.js
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ module.exports = {
"require or disallow a line break before and after HTML comment contents",
category: "recommended-with-html",
url:
"https://github.com/ota-meshi/eslint-plugin-lodash-template/blob/v0.11.0/docs/rules/html-comment-content-newline.md",
"https://github.com/ota-meshi/eslint-plugin-lodash-template/blob/v0.12.0/docs/rules/html-comment-content-newline.md",
},
fixable: "whitespace",
type: "layout",
Expand Down
2 changes: 1 addition & 1 deletion lib/rules/html-comment-spacing.js
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ module.exports = {
"enforce unified spacing in HTML comment. (ex. :ok: `<!-- comment -->`, :ng: `<!--comment-->`)",
category: "recommended-with-html",
url:
"https://github.com/ota-meshi/eslint-plugin-lodash-template/blob/v0.11.0/docs/rules/html-comment-spacing.md",
"https://github.com/ota-meshi/eslint-plugin-lodash-template/blob/v0.12.0/docs/rules/html-comment-spacing.md",
},
fixable: "whitespace",
type: "layout",
Expand Down
2 changes: 1 addition & 1 deletion lib/rules/html-content-newline.js
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ module.exports = {
"require or disallow a line break before and after HTML contents",
category: "recommended-with-html",
url:
"https://github.com/ota-meshi/eslint-plugin-lodash-template/blob/v0.11.0/docs/rules/html-content-newline.md",
"https://github.com/ota-meshi/eslint-plugin-lodash-template/blob/v0.12.0/docs/rules/html-content-newline.md",
},
fixable: "whitespace",
type: "layout",
Expand Down
2 changes: 1 addition & 1 deletion lib/rules/html-indent.js
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ module.exports = {
description: "enforce consistent HTML indentation.",
category: "recommended-with-html",
url:
"https://github.com/ota-meshi/eslint-plugin-lodash-template/blob/v0.11.0/docs/rules/html-indent.md",
"https://github.com/ota-meshi/eslint-plugin-lodash-template/blob/v0.12.0/docs/rules/html-indent.md",
},
fixable: "whitespace",
type: "layout",
Expand Down
2 changes: 1 addition & 1 deletion lib/rules/max-attributes-per-line.js
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ module.exports = {
"enforce the maximum number of HTML attributes per line",
category: "recommended-with-html",
url:
"https://github.com/ota-meshi/eslint-plugin-lodash-template/blob/v0.11.0/docs/rules/max-attributes-per-line.md",
"https://github.com/ota-meshi/eslint-plugin-lodash-template/blob/v0.12.0/docs/rules/max-attributes-per-line.md",
},
fixable: "whitespace",
type: "layout",
Expand Down
2 changes: 1 addition & 1 deletion lib/rules/no-duplicate-attributes.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ module.exports = {
"disallow duplication of HTML attributes. (ex. :ng: `<div foo foo>`)",
category: "recommended-with-html",
url:
"https://github.com/ota-meshi/eslint-plugin-lodash-template/blob/v0.11.0/docs/rules/no-duplicate-attributes.md",
"https://github.com/ota-meshi/eslint-plugin-lodash-template/blob/v0.12.0/docs/rules/no-duplicate-attributes.md",
},
fixable: null,
type: "problem",
Expand Down
2 changes: 1 addition & 1 deletion lib/rules/no-empty-template-tag.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ module.exports = {
"disallow empty micro-template tag. (ex. :ng: `<% %>`)",
category: "best-practices",
url:
"https://github.com/ota-meshi/eslint-plugin-lodash-template/blob/v0.11.0/docs/rules/no-empty-template-tag.md",
"https://github.com/ota-meshi/eslint-plugin-lodash-template/blob/v0.12.0/docs/rules/no-empty-template-tag.md",
},
fixable: null,
type: "suggestion",
Expand Down
2 changes: 1 addition & 1 deletion lib/rules/no-html-comments.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ module.exports = {
"disallow HTML comments. (ex. :ng: `<!-- comment -->`)",
category: "best-practices",
url:
"https://github.com/ota-meshi/eslint-plugin-lodash-template/blob/v0.11.0/docs/rules/no-html-comments.md",
"https://github.com/ota-meshi/eslint-plugin-lodash-template/blob/v0.12.0/docs/rules/no-html-comments.md",
},
type: "suggestion",
schema: [],
Expand Down
2 changes: 1 addition & 1 deletion lib/rules/no-invalid-template-interpolation.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ module.exports = {
"disallow other than expression in micro-template interpolation. (ex. :ng: `<%= if (test) { %>`)",
category: "best-practices",
url:
"https://github.com/ota-meshi/eslint-plugin-lodash-template/blob/v0.11.0/docs/rules/no-invalid-template-interpolation.md",
"https://github.com/ota-meshi/eslint-plugin-lodash-template/blob/v0.12.0/docs/rules/no-invalid-template-interpolation.md",
},
fixable: null,
type: "problem",
Expand Down
2 changes: 1 addition & 1 deletion lib/rules/no-irregular-whitespace.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ module.exports = {
"disallow irregular whitespace outside the template tags.",
category: "recommended",
url:
"https://github.com/ota-meshi/eslint-plugin-lodash-template/blob/v0.11.0/docs/rules/no-irregular-whitespace.md",
"https://github.com/ota-meshi/eslint-plugin-lodash-template/blob/v0.12.0/docs/rules/no-irregular-whitespace.md",
},
fixable: "whitespace",
type: "problem",
Expand Down
2 changes: 1 addition & 1 deletion lib/rules/no-multi-spaces-in-html-tag.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ module.exports = {
'disallow multiple spaces in HTML tags. (ex. :ng: `<input···type="text">`)',
category: "recommended-with-html",
url:
"https://github.com/ota-meshi/eslint-plugin-lodash-template/blob/v0.11.0/docs/rules/no-multi-spaces-in-html-tag.md",
"https://github.com/ota-meshi/eslint-plugin-lodash-template/blob/v0.12.0/docs/rules/no-multi-spaces-in-html-tag.md",
},
fixable: "whitespace",
type: "layout",
Expand Down
2 changes: 1 addition & 1 deletion lib/rules/no-multi-spaces-in-script.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ module.exports = {
"disallow multiple spaces in script. (ex. :ng: `<% if···(test)···{ %>`)",
category: "recommended",
url:
"https://github.com/ota-meshi/eslint-plugin-lodash-template/blob/v0.11.0/docs/rules/no-multi-spaces-in-script.md",
"https://github.com/ota-meshi/eslint-plugin-lodash-template/blob/v0.12.0/docs/rules/no-multi-spaces-in-script.md",
},
fixable: "whitespace",
type: "layout",
Expand Down
2 changes: 1 addition & 1 deletion lib/rules/no-semi-in-template-interpolation.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ module.exports = {
"disallow the semicolon at the end of expression in micro template interpolation.(ex. :ok: `<%= text %>` :ng: `<%= text; %>`)",
category: "best-practices",
url:
"https://github.com/ota-meshi/eslint-plugin-lodash-template/blob/v0.11.0/docs/rules/no-semi-in-template-interpolation.md",
"https://github.com/ota-meshi/eslint-plugin-lodash-template/blob/v0.12.0/docs/rules/no-semi-in-template-interpolation.md",
},
fixable: "code",
type: "problem",
Expand Down
2 changes: 1 addition & 1 deletion lib/rules/no-space-attribute-equal-sign.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ module.exports = {
'disallow spacing around equal signs in attribute. (ex. :ok: `<div class="item">` :ng: `<div class = "item">`)',
category: "recommended-with-html",
url:
"https://github.com/ota-meshi/eslint-plugin-lodash-template/blob/v0.11.0/docs/rules/no-space-attribute-equal-sign.md",
"https://github.com/ota-meshi/eslint-plugin-lodash-template/blob/v0.12.0/docs/rules/no-space-attribute-equal-sign.md",
},
fixable: "whitespace",
type: "layout",
Expand Down
2 changes: 1 addition & 1 deletion lib/rules/no-template-tag-in-start-tag.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ module.exports = {
description:
"disallow template tag in start tag outside attribute values. (ex. :ng: `<input <%= 'disabled' %> >`)",
url:
"https://github.com/ota-meshi/eslint-plugin-lodash-template/blob/v0.11.0/docs/rules/no-template-tag-in-start-tag.md",
"https://github.com/ota-meshi/eslint-plugin-lodash-template/blob/v0.12.0/docs/rules/no-template-tag-in-start-tag.md",
},
fixable: null,
type: "suggestion",
Expand Down
2 changes: 1 addition & 1 deletion lib/rules/no-warning-html-comments.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ module.exports = {
"disallow specified warning terms in HTML comments. (ex. :ng: `<!-- TODO:task -->`)",
category: "best-practices",
url:
"https://github.com/ota-meshi/eslint-plugin-lodash-template/blob/v0.11.0/docs/rules/no-warning-html-comments.md",
"https://github.com/ota-meshi/eslint-plugin-lodash-template/blob/v0.12.0/docs/rules/no-warning-html-comments.md",
},
type: "suggestion",
schema: [
Expand Down
2 changes: 1 addition & 1 deletion lib/rules/plugin-option.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ module.exports = {
description: "support option",
category: "base",
url:
"https://github.com/ota-meshi/eslint-plugin-lodash-template/blob/v0.11.0/docs/rules/plugin-option.md",
"https://github.com/ota-meshi/eslint-plugin-lodash-template/blob/v0.12.0/docs/rules/plugin-option.md",
},
type: "suggestion",
schema: [
Expand Down
2 changes: 1 addition & 1 deletion lib/rules/prefer-escape-template-interpolations.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ module.exports = {
description:
"prefer escape micro-template interpolations. (ex. :ok: `<%- ... %>`, :ng: `<%= ... %>`)",
url:
"https://github.com/ota-meshi/eslint-plugin-lodash-template/blob/v0.11.0/docs/rules/prefer-escape-template-interpolations.md",
"https://github.com/ota-meshi/eslint-plugin-lodash-template/blob/v0.12.0/docs/rules/prefer-escape-template-interpolations.md",
},
fixable: null,
type: "suggestion",
Expand Down
2 changes: 1 addition & 1 deletion lib/rules/script-indent.js
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ module.exports = {
"enforce consistent indentation to script in micro-template tag.",
category: "recommended",
url:
"https://github.com/ota-meshi/eslint-plugin-lodash-template/blob/v0.11.0/docs/rules/script-indent.md",
"https://github.com/ota-meshi/eslint-plugin-lodash-template/blob/v0.12.0/docs/rules/script-indent.md",
},
fixable: "whitespace",
type: "layout",
Expand Down
2 changes: 1 addition & 1 deletion lib/rules/template-tag-spacing.js
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ module.exports = {
"enforce unified spacing in micro-template tag. (ex. :ok: `<%= prop %>`, :ng: `<%=prop%>`)",
category: "recommended",
url:
"https://github.com/ota-meshi/eslint-plugin-lodash-template/blob/v0.11.0/docs/rules/template-tag-spacing.md",
"https://github.com/ota-meshi/eslint-plugin-lodash-template/blob/v0.12.0/docs/rules/template-tag-spacing.md",
},
fixable: "whitespace",
type: "layout",
Expand Down
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "eslint-plugin-lodash-template",
"version": "0.11.0",
"version": "0.12.0",
"description": "ESLint plugin for John Resig-style micro templating(Lodash/Underscore.js template)",
"main": "lib/index.js",
"scripts": {
Expand Down

0 comments on commit be68937

Please sign in to comment.