包详细信息

eslint-config-godaddy

godaddy13.2kMIT8.0.2

Base ESLint config for consistent style in ES6 projects at GoDaddy.

godaddy, javascript, styleguide, style-guide

自述文件

eslint-config-godaddy

Base configuration for non-React, JavaScript applications officially used at GoDaddy.

This styleguide is used by dozens of product teams at GoDaddy. Have a question or comment? Open an issue!

Installation

# Default with ES6
npm i eslint-config-godaddy --save-dev

Usage


import gdConfig from 'eslint-config-godaddy'
import { defineConfig } from 'eslint-define-config';

export default defineConfig({
  extends: [
    gdConfig,
  ],
  rules: {
    // Add your own rules here
    'no-console': 'warn',
  },
});

更新日志

eslint-config-godaddy

8.0.2

Patch Changes

  • 1b52e1c: Support mocha globals

8.0.1

Patch Changes

  • 545241e: fix(globals): add globals to the config

8.0.0

Major Changes

  • 16301df: chore(eslint)!: migrate all eslint configs to eslint@v9

    BREAKING CHANGE: removes v8 support and transistions configs to flat config. Also these packages are now type:module

7.1.1

Patch Changes

  • f47da10: Lock down peerDeps to version 8 of eslint due to major breaking changes in version 9.

7.1.0

Minor Changes

  • ca2dc13: valid-jsdoc Rule Deprecated & Triple-Slash Directive Support

7.0.2

Patch Changes

  • 906d745: Upgrade dependencies

7.0.1

Patch Changes

  • Update eslint-mocha-plugin

7.0.0

Major Changes

  • 7bac08c: WHAT: Eslint peer dep upgrade WHY: In order to support newer ecmascript versions HOW: Updated eslint peer dependency to v8 to prevent issues w/ earlier versions

6.1.0

Minor Changes

  • 40f5e60: Convert to turbo repo and changesets