0.0.1 • Published 3 years ago

@smatsmat/eslint-config-base v0.0.1

Weekly downloads
-
License
-
Repository
-
Last release
3 years ago

@polaris/eslint-config-base

Install

npm i -D eslint prettier @polaris/eslint-config-base

Setup

.eslintrc.js

vscode extension: dbaeumer.vscode-eslint

module.exports = {
  root: true,
  extends: ['@polaris/eslint-config-base'],
};

.prettierrc.js

module.exports = require('@polaris/prettier-config');

.editorconfig

vscode extension: editorconfig.editorconfig

# EditorConfig is awesome: http://EditorConfig.org

# top-most EditorConfig file
root = true

[*]
charset = utf-8
indent_style = space
indent_size = 4
insert_final_newline = true
trim_trailing_whitespace = true

[*.md]
max_line_length = off
trim_trailing_whitespace = false