You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 7-8.RSVP
Socket
Socket
Sign inDemoInstall

@anexia/eslint-config-marine

Package Overview
Dependencies
Maintainers
8
Versions
14
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 2.2.0 to 3.0.0

prettier/svelte.js

55

index.js

@@ -14,2 +14,3 @@ module.exports = {

'@typescript-eslint/await-thenable': 0,
'@typescript-eslint/ban-ts-comment': 0,
'@typescript-eslint/ban-ts-ignore': 0,

@@ -23,17 +24,25 @@ '@typescript-eslint/consistent-type-assertions': [

'@typescript-eslint/explicit-member-accessibility': 2,
'@typescript-eslint/explicit-module-boundary-types': 0,
'@typescript-eslint/interface-name-prefix': 0,
'@typescript-eslint/member-delimiter-style': 2,
'@typescript-eslint/member-ordering': 0,
'@typescript-eslint/method-signature-style': 2,
'@typescript-eslint/naming-convention': 0,
'@typescript-eslint/no-base-to-string': 2,
'@typescript-eslint/no-confusing-non-null-assertion': 2,
'@typescript-eslint/no-dynamic-delete': 2,
'@typescript-eslint/no-empty-interface': 0,
'@typescript-eslint/no-explicit-any': 0,
'@typescript-eslint/no-extra-non-null-assertion': 2,
'@typescript-eslint/no-extraneous-class': 2,
'@typescript-eslint/no-floating-promises': [2, { ignoreVoid: true, ignoreIIFE: true }],
'@typescript-eslint/no-non-null-asserted-nullish-coalescing': 2,
'@typescript-eslint/no-non-null-asserted-optional-chain': 2,
'@typescript-eslint/no-non-null-assertion': 0,
'@typescript-eslint/no-require-imports': 2,
'@typescript-eslint/no-throw-literal': 2,
'@typescript-eslint/no-unnecessary-boolean-literal-compare': 2,
'@typescript-eslint/no-unnecessary-condition': 2,
'@typescript-eslint/no-unnecessary-type-arguments': 2,
'@typescript-eslint/non-nullable-type-assertion-style': 2,
'@typescript-eslint/prefer-as-const': 2,
'@typescript-eslint/prefer-for-of': 2,

@@ -45,4 +54,13 @@ '@typescript-eslint/prefer-function-type': 2,

'@typescript-eslint/prefer-readonly': 2,
'@typescript-eslint/prefer-readonly-parameter-types': 0,
'@typescript-eslint/prefer-reduce-type-parameter': 2,
'@typescript-eslint/prefer-regexp-exec': 2,
'@typescript-eslint/prefer-return-this-type': 2,
'@typescript-eslint/prefer-string-starts-ends-with': 2,
'@typescript-eslint/prefer-ts-expect-error': 1,
'@typescript-eslint/require-array-sort-compare': 2,
'@typescript-eslint/triple-slash-reference': 0,
'@typescript-eslint/switch-exhaustiveness-check': 2,
'@typescript-eslint/type-annotation-spacing': 2,
'@typescript-eslint/unbound-method': 0,
'@typescript-eslint/unified-signatures': 2,

@@ -52,2 +70,4 @@

'@typescript-eslint/brace-style': [2, '1tbs', { allowSingleLine: true }],
'comma-dangle': 0,
'@typescript-eslint/comma-dangle': [2, 'always'],
'comma-spacing': 0,

@@ -59,2 +79,4 @@ '@typescript-eslint/comma-spacing': [2, { before: false, after: true }],

'@typescript-eslint/func-call-spacing': [2, 'never'],
indent: 0,
'@typescript-eslint/indent': [2, 'tab'],
'keyword-spacing': 0,

@@ -70,6 +92,8 @@ '@typescript-eslint/keyword-spacing': [2, { before: true, after: true }],

'@typescript-eslint/no-extra-semi': 2,
'no-useless-constructor': 0,
'@typescript-eslint/no-useless-constructor': 2,
indent: 0,
'@typescript-eslint/indent': [2, 'tab'],
'no-implied-eval': 0,
'@typescript-eslint/no-implied-eval': 2,
'no-redeclare': 0,
'@typescript-eslint/no-redeclare': 2,
'no-throw-literal': 0,
'@typescript-eslint/no-throw-literal': 2,
'no-unused-vars': 0,

@@ -84,20 +108,21 @@ '@typescript-eslint/no-unused-vars': [

],
'no-use-before-define': 0,
'@typescript-eslint/no-use-before-define': 2,
'no-useless-constructor': 0,
'@typescript-eslint/no-useless-constructor': 2,
'object-curly-spacing': 0,
'@typescript-eslint/object-curly-spacing': [2, 'always'],
quotes: 0,
'@typescript-eslint/quotes': [2, 'single', { avoidEscape: true, allowTemplateLiterals: true }],
'no-return-await': 0,
'@typescript-eslint/return-await': 1,
semi: 0,
'@typescript-eslint/semi': 2,
'@typescript-eslint/semi': [2, 'always', { omitLastInOneLineBlock: false }],
'space-before-function-paren': 0,
'@typescript-eslint/space-before-function-paren': [2, { anonymous: 'never', named: 'never', asyncArrow: 'always' }],
'space-infix-ops': 0,
'@typescript-eslint/space-infix-ops': [2, { int32Hint: true }],
'no-use-before-define': 0,
'no-undef': 0,
'@typescript-eslint/unbound-method': 0,
'@typescript-eslint/explicit-module-boundary-types': 0,
'@typescript-eslint/no-unsafe-assignment': 0,
'@typescript-eslint/no-unsafe-member-access': 0,
'@typescript-eslint/no-unsafe-call': 0,
'@typescript-eslint/no-unsafe-return': 0,
'@typescript-eslint/ban-ts-comment': 0,
},
};
{
"name": "@anexia/eslint-config-marine",
"version": "2.2.0",
"version": "3.0.0",
"description": "Typescript ESLint shareable config",

@@ -39,3 +39,2 @@ "main": "index.js",

"eslint-config-prettier": "^8.3.0",
"eslint-plugin-prettier": "^4.0.0",
"eslint-plugin-react": "^7.27.1",

@@ -42,0 +41,0 @@ "eslint-plugin-react-hooks": "^4.3.0",

module.exports = {
extends: ['plugin:prettier/recommended'],
rules: {
'prettier/prettier': [2, {}, { usePrettierrc: true }],
},
extends: ['prettier'],
};

@@ -108,6 +108,6 @@ # @anexia/eslint-config-marine

Also make sure you install `prettier`, `eslint-plugin-prettier` and `eslint-config-prettier` for this to work.
Also make sure you install `prettier` and `eslint-config-prettier` for this to work.
```bash
npm i -D prettier eslint-plugin-prettier eslint-config-prettier
npm i -D prettier eslint-config-prettier
```

@@ -114,0 +114,0 @@

SocketSocket SOC 2 Logo

Product

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

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc