@gridventures/eslint-config-base

2.0.0 • Public • Published

@gridventures/eslint-config-base

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

Usage

//.eslintrc.js
module.exports = {
  root: true,

  // adapt it to your project
  env: {
    browser: true,
    es6: true,
    node: true,
  },

  extends: [
    '@gridventures/eslint-config-base',
    // ... other configs
    '@gridventures/eslint-config-base/prettier',  
  ],
};
//.eslintignore
*.html
node_modules
*.d.ts
package-lock.json
# http://editorconfig.org
root = true

[*]
indent_style = space
indent_size = 2
end_of_line = lf
charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true

[*.md]
trim_trailing_whitespace = false
//.prettierrc
{
  "trailingComma": "all",
  "semi": true,
  "singleQuote": true,
  "useTabs": false,
  "quoteProps": "consistent",
  "bracketSpacing": true,
  "arrowParens": "always",
  "printWidth": 100
}

Readme

Keywords

none

Package Sidebar

Install

npm i @gridventures/eslint-config-base

Weekly Downloads

1

Version

2.0.0

License

MIT

Unpacked Size

4.45 kB

Total Files

4

Last publish

Collaborators

  • marcoahlers
  • ps73