0.1.0 • Published 6 years ago
eslint-config-jonyamo-base v0.1.0
eslint-config-jonyamo-base
A basic ESLint and Prettier configuration.
Installation
Install ESLint and Prettier:
$ yarn add eslint prettier --devInstall this package:
$ yarn add eslint-config-jonyamo-base --devConfiguration
Add an extends section to your .eslintrc (or equivalent) and specify jonyamo-base as an extended configuration. Rules can be adjusted by overriding them in the rules section. E.g.:
// .eslintrc.js
module.exports = {
extends: ['jonyamo-base'],
rules: {
'unicorn/prevent-abbreviations': 'off',
},
};0.1.0
6 years ago