0.1.0 • Published 4 years ago

@transmute/eslint-config v0.1.0

Weekly downloads
5
License
ISC
Repository
github
Last release
4 years ago

@transmute/eslint-config

npm i @transmute/eslint-config --save-dev

This config setup is meant to be used with VSCode.

Copy ./setup-files to working directory, next to package.json.

Manual Setup

Create .vscode/settings.json :

{
  "editor.formatOnSave": true,
  "javascript.format.enable": false,
  "javascript.referencesCodeLens.enabled": true,
  "editor.rulers": [80],
  "editor.defaultFormatter": "esbenp.prettier-vscode",
  "editor.codeLens": false
}

Create .vscode/extensions.json :

{
  // See http://go.microsoft.com/fwlink/?LinkId=827846
  // for the documentation about the extensions.json format
  "recommendations": [
    // Extension identifier format: ${publisher}.${name}. Example: vscode.csharp
    "esbenp.prettier-vscode",
    "codezombiech.gitignore",
    "EditorConfig.EditorConfig"
  ]
}

Create prettier.config.js :

// eslint-disable-next-line
module.exports = require('@transmute/eslint-config/prettier.config.json');

Create .eslintrc :

{
  "extends": ["@transmute/eslint-config/eslint.config.react.json"]
}
0.1.0

4 years ago

0.0.11

4 years ago

0.0.10

4 years ago

0.0.9-2

4 years ago

0.0.9-1

4 years ago

0.0.9

4 years ago

0.0.8

4 years ago

0.0.7

5 years ago