ESLint config for my projects and stuff.
npm i eslint @mrozio/eslint-config --save-dev
.eslintrc.js
module.exports = {
extends: '@mrozio/eslint-config'
};
- make sure you have typescript installed
npm i typescript --save-dev
.eslintrc.js
module.exports = {
extends: '@mrozio/eslint-config/typescript',
parserOptions: {
// @see https://github.com/typescript-eslint/typescript-eslint/issues/890
project: './tsconfig.json'
}
};
MIT