Skip to content

metarhia/eslint-config-metarhia

Repository files navigation

eslint-config-metarhia

Opinionated ESLint config and de-facto JavaScript styleguide for Metarhia projects.

ci status snyk npm version npm downloads/month npm downloads

Usage

  1. Install ESLint and this config:
npm i -D eslint eslint-config-metarhia
  1. Import eslint-config-metarhia in .eslint.config.js, add additional rules, export everything together.
const config = require('eslint-config-metarhia');

module.exports = [
  ...config,
  {
    rules: {
      'no-unused-vars': 'warn',
    },
  },
];

License

Copyright (c) 2017-2024 Metarhia contributors. eslint-config-metarhia is MIT licensed.
eslint-config-metarhia is a part of Metarhia technology stack.