0.0.4 • Published 7 months ago

@markormesher/eslint-config v0.0.4

Weekly downloads
-
License
Apache-2.0
Repository
github
Last release
7 months ago

CircleCI npm

@markormesher/eslint-config

Standard ESLint/Prettier config for TypeScript/React/SCSS projects. Published as its own package to reduce duplication between projects.

Intended for projects using ESLint's "new" flat config format.

Installation and Usage

Install with yarn:

yarn add --dev @markormesher/eslint-config

Add it to eslint.config.js:

import config from "@markormesher/eslint-config";

export default config;

Or, if you want to apply overrides:

import config from "@markormesher/eslint-config";

export default [
  ...config,
  {
    "files": ["**/*.ts"],
    // overrides for TS files...
  },
];

Dependencies

These are peer dependencies, expected to be installed in the project but not provided by this package.