Socket
Socket
Sign inDemoInstall

@gridventures/eslint-config-base

Package Overview
Dependencies
4
Maintainers
2
Versions
14
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @gridventures/eslint-config-base

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


Version published
Weekly downloads
2
decreased by-86.67%
Maintainers
2
Created
Weekly downloads
 

Readme

Source

@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
}

FAQs

Last updated on 20 Nov 2023

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc