Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@anexia/eslint-config-aqua

Package Overview
Dependencies
Maintainers
8
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@anexia/eslint-config-aqua

ESLint shareable config

  • 4.0.0
  • npm
  • Socket score

Version published
Weekly downloads
14
decreased by-36.36%
Maintainers
8
Weekly downloads
 
Created
Source

@anexia/eslint-config-aqua

ESLint shareable config

Install

npm i -D @anexia/eslint-config-aqua

Usage

Add the ESLint config to your package.json:

{
	"name": "my-project",
	...
	"eslintConfig": {
		"extends": "@anexia/eslint-config-aqua"
	}
}

Or eslintrc.json:

{
	"extends": "@anexia/eslint-config-aqua"
}

Targets

If you are developing with Javascript in the browser consider adding:

{
	"extends": "@anexia/eslint-config-aqua"
	"env": {
		"browser": true
	}
}

or use the platform specific configs for Node.js:

{
	"extends": "@anexia/eslint-config-aqua/node"
}

or Svelte:

{
	"extends": "@anexia/eslint-config-aqua/svelte"
}

or React:

{
	"extends": "@anexia/eslint-config-aqua/react"
}

or any other JSX:

{
	"extends": "@anexia/eslint-config-aqua/jsx"
}

or Vue.js:

{
	"extends": "@anexia/eslint-config-aqua/vue"
}

Using the Vue extended config will require you to additionally install eslint-plugin-vue and babel-eslint

npm i -D babel-eslint eslint-plugin-vue

Prettier usage

If you want to apply your own .prettierrc rules with support for disabling the correct rules, just add /prettier before the target name.

Also make sure you install prettier and eslint-config-prettier for this to work.

npm i -D prettier eslint-config-prettier
{
	"extends": "@anexia/eslint-config-aqua/prettier"
}
{
	"extends": "@anexia/eslint-config-aqua/prettier/node"
}

or Svelte:

{
	"extends": "@anexia/eslint-config-aqua/prettier/svelte"
}

or React:

{
	"extends": "@anexia/eslint-config-aqua/prettier/react"
}

or any other JSX:

{
	"extends": "@anexia/eslint-config-aqua/prettier/jsx"
}

or Vue.js:

{
	"extends": "@anexia/eslint-config-aqua/prettier/vue"
}

Keywords

FAQs

Package last updated on 24 Mar 2022

Did you know?

Socket

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
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc