Opinionated ESLint config and de-facto JavaScript styleguide for Metarhia projects.
- Install ESLint and this config:
npm i -D eslint eslint-config-metarhia
- 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',
},
},
];
Copyright (c) 2017-2024 Metarhia contributors.
eslint-config-metarhia is MIT licensed.
eslint-config-metarhia is a part of Metarhia technology stack.