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

@opengov/ppf-eslint-config

Package Overview
Dependencies
Maintainers
156
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@opengov/ppf-eslint-config - npm Package Compare versions

Comparing version 0.1.8 to 0.1.9

153

base.js
module.exports = {
env: {
es6: true,
node: true
},
extends: [
"airbnb-base",
"airbnb-typescript/base",
"plugin:@typescript-eslint/recommended",
"plugin:import/recommended",
"plugin:import/typescript",
"prettier"
],
parser: "@typescript-eslint/parser",
parserOptions: {
sourceType: "module",
project: "**/tsconfig.eslint.json"
},
settings: {},
ignorePatterns: [
".eslintrc.js",
"src/graphql/types/generated.ts",
"dist/",
"prisma/",
"config/",
"coverage/",
"generated/src",
],
plugins: ["@typescript-eslint", "prettier"],
rules: {
"no-param-reassign": ["error", { props: false }],
"@typescript-eslint/no-unused-vars": [
"warn",
{
argsIgnorePattern: "^_",
varsIgnorePattern: "^_",
caughtErrorsIgnorePattern: "^_"
}
env: {
es6: true,
node: true
},
extends: [
"airbnb-base",
"airbnb-typescript/base",
"plugin:@typescript-eslint/recommended",
"plugin:import/recommended",
"plugin:import/typescript",
"prettier"
],
"no-console": [
"error",
{
allow: ["error"]
}
parser: "@typescript-eslint/parser",
parserOptions: {
sourceType: "module",
project: "**/tsconfig.eslint.json"
},
settings: {},
ignorePatterns: [
".eslintrc.js",
"src/graphql/types/generated.ts",
"dist/",
"prisma/",
"config/",
"coverage/",
"generated/src",
],
"no-duplicate-imports": "error",
"default-case": "warn",
"max-len": [
"warn",
plugins: ["@typescript-eslint", "prettier"],
rules: {
"no-param-reassign": ["error", { props: false }],
"@typescript-eslint/no-unused-vars": [
"warn",
{
argsIgnorePattern: "^_",
varsIgnorePattern: "^_",
caughtErrorsIgnorePattern: "^_"
}
],
"no-console": [
"error",
{
allow: ["error"]
}
],
"no-duplicate-imports": "error",
"default-case": "warn",
"max-len": [
"warn",
{
code: 120,
ignoreUrls: true,
ignoreStrings: true,
ignoreTemplateLiterals: true
}
],
"import/order": [
"error",
{
groups: ["builtin", "external", "internal", "parent", "sibling", "index", "object"]
}
],
"import/prefer-default-export": "off",
"import/no-default-export": "error",
"@typescript-eslint/lines-between-class-members": ["error", "always", { exceptAfterSingleLine: true }]
},
overrides: [
{
code: 120,
ignoreUrls: true,
ignoreStrings: true,
ignoreTemplateLiterals: true
}
],
"import/order": [
"error",
files: ["**/__tests__/**.*", "**/__mocks__/**.*"],
rules: {
"no-underscore-dangle": "off",
"@typescript-eslint/no-non-null-assertion": "off"
}
},
{
groups: ["builtin", "external", "internal", "parent", "sibling", "index", "object"]
}
],
"import/prefer-default-export": "off",
"import/no-default-export": "error",
"@typescript-eslint/lines-between-class-members": ["error", "always", { exceptAfterSingleLine: true }]
},
overrides: [
{
files: ["**/__tests__/**.*", "**/__mocks__/**.*"],
rules: {
"no-underscore-dangle": "off",
"@typescript-eslint/no-non-null-assertion": "off"
}
},
{
files: ["**.ts"],
rules: {
"class-methods-use-this": "off",
files: ["**.ts"],
rules: {
"class-methods-use-this": "off",
},
},
},
]
}
]
}
{
"name": "@opengov/ppf-eslint-config",
"version": "0.1.8",
"description": "ESLint base config",
"version": "0.1.9",
"description": "ESLint config for PPF",
"keywords": [
"eslint"
],
"author": "Opengov",
"homepage": "https://github.com/OpenGov/pluggable-payments#readme",
"license": "ISC",
"publishConfig": {
"access": "public"
},
"main": "base.js",
"devDependencies": {

@@ -22,2 +23,9 @@ "@opengov/ppf-tsconfig": "^0.0.1",

},
"directories": {
"lib": "lib",
"test": "__tests__"
},
"files": [
"lib"
],
"repository": {

@@ -27,3 +35,5 @@ "type": "git",

},
"scripts": {},
"scripts": {
"test": "node ./__tests__/ppf-eslint-ppf.test.js"
},
"bugs": {

@@ -30,0 +40,0 @@ "url": "https://github.com/OpenGov/pluggable-payments/issues"

@@ -1,2 +0,2 @@

# `@opengov/ppf-eslint-config`
# `ppf-eslint-ppf`

@@ -8,5 +8,5 @@ > TODO: description

```
const ppfEslintConfig = require('@opengov/ppf-eslint-config');
const ppfEslintPpf = require('ppf-eslint-ppf');
// TODO: DEMONSTRATE API
```
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