eslint-config-mado
v0.4.2
Published
Eslint config
Downloads
16
Readme
eslint-config-mado
Installation
npm install -D eslint-config-mado
# or
yarn add -D eslint-config-mado
# or
pnpm add -D eslint-config-mado
Usage
React
TypeScript
/**
* @type {import('eslint').Linter.Config}
*/
module.exports = {
extends: ['mado'],
parserOptions: {
project: require.resolve('./tsconfig.json'),
},
};
Node
TypeScript
/**
* @type {import('eslint').Linter.Config}
*/
module.exports = {
extends: ['mado/base'],
parserOptions: {
project: require.resolve('./tsconfig.json'),
},
};