1.0.9 • Published 2 years ago

eslint-config-wotusay v1.0.9

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

version MIT License

Table of Contents

Installation

This module should be installed as one of your project's devDependencies:

yarn add eslint-wotusay -D

Usage

Then add the extends to your .eslintrc.js:

module.exports = {
    extends: 'wotusay,
    rules: {
        // your overrides
    },
};

VS Code

Using the eslint-plugin you can use these settings for autoformatting:

"editor.formatOnSave": true,
"eslint.format.enable": true,
  "[javascript]": {
"editor.formatOnSave": false,
  "editor.defaultFormatter": "dbaeumer.vscode-eslint"
},
"[javascriptreact]": {
  "editor.formatOnSave": false,
  "editor.defaultFormatter": "dbaeumer.vscode-eslint"
},
"[typescript]": {
  "editor.formatOnSave": false,
  "editor.defaultFormatter": "dbaeumer.vscode-eslint"
},
"[typescriptreact]": {
  "editor.formatOnSave": false,
  "editor.defaultFormatter": "dbaeumer.vscode-eslint"
},
"editor.codeActionsOnSave": {
  "source.fixAll": true,
}

Story-map