0.1.0 • Published 5 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 --dev
Install this package:
$ yarn add eslint-config-jonyamo-base --dev
Configuration
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
5 years ago