Skip to content

Commit

Permalink
Merge pull request #11 from NullVoxPopuli/fillout-readme
Browse files Browse the repository at this point in the history
Add light README
  • Loading branch information
NullVoxPopuli authored Dec 22, 2023
2 parents db1002c + 33ed62e commit 2049233
Showing 1 changed file with 32 additions and 0 deletions.
32 changes: 32 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1 +1,33 @@
# ember-eslint-parser

This is the eslint parser for ember's gjs and gts files (using `<template>`).

It is meant to be used with [eslint-plugin-ember](https://github.com/ember-cli/eslint-plugin-ember), which provides nice defaults for all the different file types in ember projects.

It's recommended to only use _overrides_ when defining your eslint config, so using this parser would look like this:
```js
{
files: ['**/*.gjs'],
parser: 'ember-eslint-parser',
plugins: ['ember'],
extends: [
'eslint:recommended',
'plugin:ember/recommended',
'plugin:ember/recommended-gjs',
],
},
{
files: ['**/*.gts'],
parser: 'ember-eslint-parser',
plugins: ['ember'],
extends: [
'eslint:recommended',
'plugin:ember/recommended',
'plugin:ember/recommended-gts',
],
},
```

## Support

eslint-plugin-ember is the primary consumer of this parser library, so SemVer _may_ not be respected for other consumers.

0 comments on commit 2049233

Please sign in to comment.