@gitart/eslint-config-basic

1.0.0 • Public • Published

@gitart/eslint-config-basic

.eslintrc.js

module.exports = {
  extends: ['@gitart/eslint-config-basic'],
}

Babel Parser (Optional)

If you are going some syntax that is not supported by the ESlint defaujlt parser, you can use @babel/eslint-parser in the .eslintrc.js file.

npm install @babel/eslint-parser
module.exports = {
  extends: ['@gitart/eslint-config-basic'],
  parser: '@babel/eslint-parser',
}

After that, it will work.

class Car {
  type = 'Electric'

  constructor() {
    // ...
  }
}

Readme

Keywords

none

Package Sidebar

Install

npm i @gitart/eslint-config-basic

Weekly Downloads

25

Version

1.0.0

License

MIT

Unpacked Size

10.1 kB

Total Files

4

Last publish

Collaborators

  • michaelgitart