4.0.3 • Published 2 years ago

@evergreen-smart-power/eslint-config v4.0.3

Weekly downloads
93
License
LGPL-3.0-or-later
Repository
github
Last release
2 years ago

Evergreen Smart Power shared-eslint-config

Evergreen Smart Power's shared config for ESLint projects

Purpose

To provide a single source of common ESLint configuration across all Smart Power projects

Usage

Install this package as a dev dependency with npm install --save-dev @evergreen-smart-power/eslint-config

Add it to the extends property in your .eslintrc.js like so:

module.exports = {
  root: true,
  extends: [
    '@evergreen-smart-power',
  ],
  parserOptions: {
    ecmaVersion: 2018,
    sourceType: 'module',
    tsconfigRootDir: __dirname,
    project: ['./tsconfig.json']
  },
}

Developing

When changing the rules, make sure to change either a source file or a test under example to include code which is acceptable.

Test linting of the example project by running make test.

Copyright notice

Copyright 2020 Evergreen Smart Power. See COPYING.LESSER for licencing.

4.0.1

2 years ago

4.0.3

2 years ago

4.0.2

2 years ago

4.0.0

2 years ago

3.0.9

2 years ago

3.0.8

2 years ago

3.0.7

2 years ago

3.0.6

2 years ago

3.0.5

2 years ago

3.0.4

3 years ago

3.0.3

3 years ago

3.0.2

3 years ago

3.0.1

3 years ago

3.0.0

3 years ago

2.1.0

4 years ago

2.0.1

4 years ago

2.0.0

4 years ago

1.4.2

4 years ago

1.4.1

4 years ago

1.4.0

4 years ago

1.3.0

4 years ago

1.2.0

4 years ago

1.1.0

4 years ago

1.0.0

4 years ago

0.0.1

4 years ago