Skip to content

Commit 88130f7

Browse files
committed
change category
1 parent c423ee6 commit 88130f7

File tree

3 files changed

+12
-3
lines changed

3 files changed

+12
-3
lines changed

README.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -186,6 +186,13 @@ Enforce all the rules in this category, as well as all higher priority rules, wi
186186
| | [order-in-components](./docs/rules/order-in-components.md) | enforce order of properties in components |
187187
| | [this-in-template](./docs/rules/this-in-template.md) | enforce usage of `this` in template |
188188

189+
190+
### Uncategorized
191+
192+
| | Rule ID | Description |
193+
|:---|:--------|:------------|
194+
| :wrench: | [script-indent](./docs/rules/script-indent.md) | enforce consistent indentation in `<script>` |
195+
189196
<!--RULES_TABLE_END-->
190197

191198
## :couple: FAQ

docs/rules/script-indent.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
1-
# Enforce consistent indentation (script-indent)
1+
# enforce consistent indentation in `<script>` (script-indent)
2+
3+
- :wrench: The `--fix` option on the [command line](http://eslint.org/docs/user-guide/command-line-interface#fix) can automatically fix some of the problems reported by this rule.
24

35
This rule is similar to core [indent](https://eslint.org/docs/rules/indent) rule, but it has an option for inside of `<script>` tag.
46

lib/rules/script-indent.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,8 @@ module.exports = {
2020
},
2121
meta: {
2222
docs: {
23-
description: 'enforce consistent indentation in `<template>`',
24-
category: 'strongly-recommended'
23+
description: 'enforce consistent indentation in `<script>`',
24+
category: undefined
2525
},
2626
fixable: 'whitespace',
2727
schema: [

0 commit comments

Comments
 (0)