2.5.88 • Published 11 months ago

@erboladaiorg/molestiae-perferendis-quidem v2.5.88

Weekly downloads
-
License
MIT
Repository
github
Last release
11 months ago

Swimlane Eslint Rules

Rules for eslint used in Swimlane's Javascript (etc) development.

Javascript (es6)

Install:

npm install --save-dev eslint @erboladaiorg/molestiae-perferendis-quidem eslint-plugin-security

Create an .eslintrc.yml file with the following:

env:
  browser: true
  commonjs: true
  es2021: true
extends:
  - '@swimlane'
parserOptions:
  ecmaVersion: 12

TypeScript

Install:

npm install --save-dev eslint @erboladaiorg/molestiae-perferendis-quidem eslint-plugin-security
npm install --save-dev @typescript-eslint/parser @typescript-eslint/eslint-plugin

Create an .eslintrc.yml file with the following:

env:
  browser: true
  es2021: true
  node: true
extends:
  - '@erboladaiorg/molestiae-perferendis-quidem/typescript'
parserOptions:
  ecmaVersion: 12
  sourceType: module

Prettier

If using prettier (for example @swimlane/prettier-config-swimlane) you should follow instructions in the eslint-config-prettier readme to install and setup eslint-config-prettier. Then installed the @erboladaiorg/molestiae-perferendis-quidem and update your .eslintrc.yml.

Install:

npm install --save-dev @erboladaiorg/molestiae-perferendis-quidem eslint-plugin-security

For example for es6 config your .eslintrc.yml file will be:

env:
  browser: true
  commonjs: true
  es2021: true
extends:
  - '@swimlane'
  - 'prettier'
parserOptions:
  ecmaVersion: 12

Angular

For angular projects you should add @angular-eslint/schematics as described here and eslint-config-prettier as described here](https://github.com/prettier/eslint-config-prettier#readme). Then installed the @erboladaiorg/molestiae-perferendis-quidem and update your .eslintrc.yml.

Install:

npm install --save-dev eslint @erboladaiorg/molestiae-perferendis-quidem eslint-plugin-security

Your .eslintrc.yml file will be:

root: true
extends:
  - '@swimlane'
  - prettier
overrides:
  - files:
      - '*.ts'
    parser: '@typescript-eslint/parser'
    parserOptions:
      project:
        - tsconfig.json
      createDefaultProgram: true
    extends:
      - '@erboladaiorg/molestiae-perferendis-quidem/typescript'
      - plugin:@angular-eslint/recommended
      - plugin:@angular-eslint/template/process-inline-templates
      - prettier
  - files:
      - '*.html'
    extends:
      - plugin:@angular-eslint/template/recommended

Versioning Policy

  • Major (new linting errors)

    • A new rule is added
    • An existing rule is made more strict
    • A new plugin is added to an existing config
    • A existing plugin is updated to be more strict
  • Minor (same or fewer linting errors)

    • A rule is removed
    • An existing rules is made less strict
    • Adding a new configuration
    • A existing plugin is updated to be less strict
  • Patch (non-user-facing changes)

    • Changes to documentation
    • Fixes for build or publication
    • Modifying tests

Publish steps

  • Checkout main (git checkout main)
  • Pull master (git pull)
  • Examine CHANGELOG.md to determine next version (X.Y.Z)
  • Run np (npm run np)

Credits

@erboladaiorg/molestiae-perferendis-quidem is a Swimlane open-source project; we believe in giving back to the open-source community by sharing some of the projects we build.

Swimlane is an automated cyber security operations and incident response platform that enables cyber security teams to leverage threat intelligence, speed up incident response and automate security operations.

2.5.88

11 months ago

2.5.87

11 months ago

2.5.86

11 months ago

2.5.85

11 months ago

2.5.84

11 months ago

2.5.83

11 months ago

2.5.82

11 months ago

2.5.81

11 months ago

2.5.80

11 months ago

2.5.79

11 months ago

2.5.78

11 months ago

2.5.77

11 months ago

2.5.76

11 months ago

2.5.75

11 months ago

2.5.74

11 months ago

2.5.73

11 months ago

2.5.72

11 months ago

2.5.71

11 months ago

2.5.70

11 months ago

2.5.69

11 months ago

2.5.68

11 months ago

2.5.67

11 months ago

2.5.66

11 months ago

2.5.65

11 months ago

2.5.64

11 months ago

2.5.63

11 months ago

2.5.62

11 months ago

2.5.61

12 months ago

2.5.60

12 months ago

2.5.59

12 months ago

2.5.58

12 months ago

2.5.57

12 months ago

2.5.56

12 months ago

2.5.55

12 months ago

2.5.54

12 months ago

2.5.53

12 months ago

2.5.52

12 months ago

2.5.51

12 months ago

2.5.50

12 months ago

2.5.49

12 months ago

2.5.48

12 months ago

2.5.47

12 months ago

2.5.46

12 months ago

2.5.45

12 months ago

2.5.44

12 months ago

2.4.44

12 months ago

2.4.43

12 months ago

2.4.42

1 year ago

2.4.41

1 year ago

2.4.40

1 year ago

2.4.39

1 year ago

2.3.39

1 year ago

2.2.39

1 year ago

2.2.38

1 year ago

2.2.37

1 year ago

2.2.36

1 year ago

2.2.35

1 year ago

2.2.34

1 year ago

2.2.33

1 year ago

2.1.33

1 year ago

2.1.32

1 year ago

2.1.31

1 year ago

2.1.30

1 year ago

2.1.29

1 year ago

2.1.28

1 year ago

2.1.27

1 year ago

2.1.26

1 year ago

2.1.25

1 year ago

2.1.24

1 year ago

2.1.23

1 year ago

2.0.23

1 year ago

2.0.22

1 year ago

2.0.21

1 year ago

2.0.20

1 year ago

1.0.20

1 year ago

1.0.19

1 year ago

1.0.18

1 year ago

1.0.17

1 year ago

1.0.16

1 year ago

1.0.15

1 year ago

1.0.14

1 year ago

1.0.13

1 year ago

1.0.12

1 year ago

1.0.11

1 year ago

1.0.10

1 year ago

1.0.9

1 year ago

1.0.8

1 year ago

1.0.7

1 year ago

1.0.6

1 year ago

1.0.5

1 year ago

1.0.4

1 year ago

1.0.3

1 year ago

1.0.2

1 year ago

1.0.1

1 year ago

1.0.0

1 year ago