eslint-config-laggage

0.0.7 • Public • Published

Usage

Install peer dependencies

npm i -D typescript eslint prettier-

Create .prettierrc.js and .eslintrc.js files to the root of the project

touch .prettierrc.js && touch .eslintrc.js
.eslintrc.js
module.exports = {
    extends: ['./node_modules/eslint-config-laggage/index.js'],
};
.prettierrc.js
module.exports = {
    ...require('eslint-config-laggage/prettier'),
};

Use .*.js as the configuration file so that it's possible and easy to override th configuration in these two files.

For example, to override tabWith option to 2 of prettier, just modify .prettierrc.js like below

module.exports = {
    ...require('eslint-config-laggage/prettier'),
+   tabWith: 2
};

Readme

Keywords

none

Package Sidebar

Install

npm i eslint-config-laggage

Weekly Downloads

0

Version

0.0.7

License

MIT

Unpacked Size

2.5 kB

Total Files

4

Last publish

Collaborators

  • laggage