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

@backpackjs/eslint-config

Package Overview
Dependencies
Maintainers
10
Versions
149
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@backpackjs/eslint-config - npm Package Compare versions

Comparing version 1.0.1 to 1.1.0

11

CHANGELOG.md

@@ -6,2 +6,13 @@ # Change Log

# [1.1.0](https://github.com/packdigital/backpackjs-monorepo/compare/@backpackjs/eslint-config@1.0.1...@backpackjs/eslint-config@1.1.0) (2022-03-25)
### Features
* **eslint-config:** clean up eslint config to only use typescript parser on typescript files ([670b885](https://github.com/packdigital/backpackjs-monorepo/commit/670b8859053e677a7ab22dbc68c0f6809b889b61))
## [1.0.1](https://github.com/packdigital/backpackjs-monorepo/compare/@backpackjs/eslint-config@1.0.0...@backpackjs/eslint-config@1.0.1) (2022-03-23)

@@ -8,0 +19,0 @@

24

index.js
module.exports = {
parser: '@typescript-eslint/parser',
extends: ['airbnb', 'plugin:prettier/recommended'],
parserOptions: {
ecmaFeatures: {
jsx: true,
},
ecmaVersion: 'latest',
sourceType: 'module',
},
extends: [
'airbnb',
'plugin:import/typescript',
'plugin:prettier/recommended',
],
rules: {
'import/prefer-default-export': 'off',
// 1: Turn off rules that are no longer necessary in React 17 and in Next.js
'react/jsx-uses-react': 'off',
'react/react-in-jsx-scope': 'off',
'no-console': 'off',
'no-underscore-dangle': 'off',
'import/prefer-default-export': 'off',
'import/extensions': [

@@ -21,2 +36,5 @@ 'error',

'import/extensions': ['.js', '.jsx', '.ts', '.tsx'],
'import/parsers': {
'@typescript-eslint/parser': ['.ts', '.tsx'],
},
'import/resolver': {

@@ -23,0 +41,0 @@ typescript: {},

6

package.json
{
"name": "@backpackjs/eslint-config",
"version": "1.0.1",
"version": "1.1.0",
"author": "@packdigital",

@@ -19,3 +19,3 @@ "description": "Backpackjs ESLint Config",

"eslint-config-prettier": "^8.3.0",
"eslint-import-resolver-typescript": "^2.5.0",
"eslint-import-resolver-typescript": "^2.7.0",
"eslint-plugin-import": "^2.25.4",

@@ -28,3 +28,3 @@ "eslint-plugin-jsx-a11y": "^6.5.1",

"prettier": "@backpackjs/prettier-config",
"gitHead": "b0ca9b1e71ecea71104e7b6296db8e28bf97dfd1"
"gitHead": "60d6113c6c66465609be9b813791c0f4556f6867"
}
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