0.4.2 • Published 26 days ago

ember-eslint-parser v0.4.2

Weekly downloads
-
License
ISC
Repository
github
Last release
26 days ago

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, 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:

    {
      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',
      ],
    },

if we detect a typescript parser, it will also be used for all files, otherwise babel parser will be used. If we cannot find a typescript parser when linting gts we throw an error.

Support

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

0.4.2

26 days ago

0.4.1

1 month ago

0.4.0

2 months ago

0.3.8

3 months ago

0.3.7

3 months ago

0.3.6

3 months ago

0.3.5

3 months ago

0.3.4

3 months ago

0.3.2

3 months ago

0.3.3

3 months ago

0.3.1

3 months ago

0.3.0

3 months ago

0.2.6

3 months ago

0.2.5

4 months ago

0.2.3

4 months ago

0.2.4

4 months ago

0.2.1

4 months ago

0.2.2

4 months ago

0.2.0

5 months ago

0.1.0

5 months ago

0.1.1

5 months ago

0.0.1

5 months ago