0.7.1 • Published 2 years ago

@clubdrei/eslint-config v0.7.1

Weekly downloads
-
License
ISC
Repository
-
Last release
2 years ago

Clubdrei.com Eslint rules

Includes default Eslint rules, import settings, parserOptions, env's and overrides for Vanilla js and Vuejs Projects.

Installation

  1. Install eslint and create a configuration file eslint and create a configuration file
    Select 'airbnb-base' as default configuration (C3 uses this as the default and our configuration changes some rules to our preference)

  2. Install clubdrei/eslint-configt with npm

  npm i @clubdrei/eslint-config
  1. Install the required peer dependecies of the package

  2. add our config add the last point in the extends section of the '.eslintrc.js' file.

  • For Vanialla js @clubdrei/eslint-config/vanilla
  • For Vuejs @clubdrei/eslint-config/vue

Your file should then look like this: (globals are not required)

module.exports = {
  extends: [
    '@clubdrei/eslint-config/vue',
  ],
  globals: {
    Atomics: 'readonly',
    SharedArrayBuffer: 'readonly',
  },
};

Import Configuration

./src = @
./ssr = @ssr

Custom Rules

WIP

0.6.8-beta.7

2 years ago

0.6.8-beta.8

2 years ago

0.7.1

2 years ago

0.7.0

2 years ago

0.6.8-beta.1

2 years ago

0.6.8-beta.0

2 years ago

0.6.7

2 years ago

0.6.6

2 years ago

0.6.5

2 years ago

0.6.4

2 years ago

0.6.3

2 years ago

0.6.2

2 years ago

0.6.1

2 years ago

0.5.6

2 years ago

0.5.5

2 years ago

0.5.4

2 years ago

0.5.3

2 years ago

0.5.2

2 years ago

0.5.1

2 years ago

0.2.2

2 years ago

0.2.1

2 years ago

0.1.4

2 years ago

0.1.3

2 years ago

0.0.3

2 years ago

0.0.2

2 years ago

0.0.1

2 years ago