Skip to content

Commit

Permalink
feat: add base configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
alexlafroscia committed Nov 7, 2019
1 parent 96830b4 commit b489827
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 3 deletions.
7 changes: 4 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,10 @@ This is a collection of custom [`ember-template-lint`](https://github.com/ember-

The following sets of rules are available for your `ember-template-lint` configuration to extend from:

| Name | Description |
| :--------------------- | :---------------------------------------------------- |
| `avoid-possible-typos` | Rules meant to catch possible typos in your templates |
| Name | Description |
| :--------------------- | :--------------------------------------------------------- |
| `avoid-possible-typos` | Rules meant to catch possible typos in your templates |
| `base` | The base set of rules used across all Movable Ink projects |

## Usage

Expand Down
14 changes: 14 additions & 0 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,20 @@ module.exports = {
rules: {
'no-expression-like-strings': true
}
},

base: {
extends: [
'recommended',
'@movable/template-lint-plugin:avoid-possible-typos'
],
rules: {
// Overrides to built-in "recommended" rules
'no-inline-styles': {
allowDynamicStyles: true
},
quotes: false
}
}
}
};

0 comments on commit b489827

Please sign in to comment.