eslint-config-hardx
v1.0.1
Published
Consumer repository will need to explicitly install peer dependencies ``` npm i -D eslint-config-hardx --legacy-peer-deps
Downloads
1
Readme
Sharable eslint & prettier configs
Consumer repository will need to explicitly install peer dependencies
npm i -D eslint-config-hardx --legacy-peer-deps
npm i -D eslint prettier @typescript-eslint/eslint-plugin @typescript-eslint/parser astro-eslint-parser eslint-config-prettier eslint-config-standard-with-typescript eslint-plugin-import eslint-plugin-n eslint-plugin-prettier eslint-plugin-promise eslint-plugin-react prettier-plugin-astro
.eslintrc.js
module.exports = {
extends: ['eslint-config-hardx/eslint'],
parserOptions: {
ecmaVersion: 'latest',
sourceType: 'module',
project: './tsconfig.json',
},
}
.prettierrc.js
module.exports = {
...require('eslint-config-vytalyi/prettier'),
};