2.1.1 • Published 7 months ago

@apogeelabs/eslint-config v2.1.1

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

@apogeelabs/eslint-config

This package provides an eslint9 flat config base for Apogee projects.

Usage

To use this configuration:

  • include this package.json peerDependencies in your project's devDependencies
  • install this package: npm install --save-dev @apogeelabs/eslint-config
  • create an eslint.config.js file in your prjoect that uses the Apogee config:
import { fileURLToPath } from "url";
import { dirname } from "path";
const __filename = fileURLToPath(import.meta.url);
const __dirname = dirname(__filename);
import globals from "globals";
import apogeeConfig from "@apogeelabs/eslint-config";

export default [
    {
        ignores: [ /* project-specific ignores */ ],
    },
    {
        languageOptions: {
            globals: { ...globals.node },
        },
    },
    ...apogeeConfig(__dirname),
    {
        // project-specific configuration
    },
];
  • verify your rules are configured correctly: npx eslint --inspect-config

Building/Publishing

  • install dependencies: npm ci
  • make code changes
  • update package.json verison number
  • build code changes: npm run build
  • publish package: npm publish

References

2.0.15

7 months ago

2.0.3

7 months ago

2.1.1

7 months ago

2.0.16

7 months ago

2.0.2

7 months ago

2.0.13

7 months ago

2.0.5

7 months ago

2.0.14

7 months ago

2.0.11

7 months ago

2.0.7

7 months ago

2.0.12

7 months ago

2.0.6

7 months ago

2.0.9

7 months ago

2.0.10

7 months ago

2.0.8

7 months ago

2.1.0

7 months ago

2.0.1

7 months ago

2.0.0

7 months ago

2.0.19

7 months ago

2.0.17

7 months ago

2.0.18

7 months ago

2.0.20

7 months ago

1.3.0

1 year ago

1.1.1

3 years ago

1.1.0

3 years ago

1.0.2

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago

0.1.1

3 years ago

0.1.0

3 years ago