New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@dotcom-reliability-kit/eslint-config

Package Overview
Dependencies
Maintainers
5
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@dotcom-reliability-kit/eslint-config - npm Package Compare versions

Comparing version 2.0.0 to 2.0.1

62

lib/index.d.ts

@@ -1,61 +0,3 @@

export namespace env {
const browser: boolean;
const es2022: boolean;
const mocha: boolean;
const node: boolean;
}
export namespace parserOptions {
const ecmaVersion: string;
const sourceType: string;
}
export const rules: {
'array-callback-return': string;
eqeqeq: string;
'constructor-super': string;
'for-direction': string;
'getter-return': string;
'no-class-assign': string;
'no-cond-assign': string;
'no-const-assign': string;
'no-constant-condition': string;
'no-debugger': string;
'no-dupe-args': string;
'no-dupe-class-members': string;
'no-dupe-else-if': string;
'no-dupe-keys': string;
'no-duplicate-case': string;
'no-duplicate-imports': string;
'no-ex-assign': string;
'no-extend-native': string;
'no-fallthrough': string;
'no-func-assign': string;
'no-import-assign': string;
'no-inner-declarations': string;
'no-irregular-whitespace': string;
'no-new-native-nonconstructor': string;
'no-obj-calls': string;
'no-setter-return': string;
'no-sparse-arrays': string;
'no-template-curly-in-string': string;
'no-this-before-super': string;
'no-undef': string;
'no-unexpected-multiline': string;
'no-unreachable': string;
'no-unsafe-negation': string;
'no-unsafe-optional-chaining': string;
'no-unused-private-class-members': string;
'no-unused-vars': string;
'require-atomic-updates': string;
'use-isnan': string;
'valid-typeof': string;
'no-global-assign': string;
'no-invalid-this': string;
'no-iterator': string;
'no-multi-str': string;
'no-new-func': string;
'no-proto': string;
'no-sequences': string;
'no-useless-catch': string;
radix: string;
};
export = config;
declare const config: import('eslint').ESLint.ConfigData;
//# sourceMappingURL=index.d.ts.map

5

lib/index.js

@@ -0,1 +1,4 @@

/**
* @type {import('eslint').ESLint.ConfigData}
*/
const config = {

@@ -49,3 +52,3 @@ env: {

'no-unused-vars': 'error',
'require-atomic-updates': 'error',
'require-atomic-updates': 'warn',
'use-isnan': 'error',

@@ -52,0 +55,0 @@ 'valid-typeof': 'error',

{
"name": "@dotcom-reliability-kit/eslint-config",
"version": "2.0.0",
"version": "2.0.1",
"description": "A linting config, specifically focussed on enhancing code quality and proactively catching errors/bugs before they make it into production",

@@ -20,3 +20,6 @@ "repository": {

"eslint": ">=8.27.0"
},
"devDependencies": {
"@types/eslint": "^8.40.2"
}
}
}

@@ -33,6 +33,6 @@ ## @dotcom-reliability-kit/eslint-config

```
"lint:js": "eslint '**/*.{js,jsx,json,yml,yaml}'"
"lint:js": "eslint ."
```
To lint a specific file (or the entire repository), run that command in your terminal. Any linting errors found by the config will be displayed in your terminal, with helpful suggestions on how to resolve them.
Run that command in your terminal to lint your files (either cd into the relevant directory or run from root). Any linting errors found by the config will be displayed in your terminal, with helpful suggestions on how to resolve them.

@@ -39,0 +39,0 @@ ## Contributing

Sorry, the diff of this file is not supported yet

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