1.6.0 • Published 5 months ago

@codementor/eslint-config-bro v1.6.0

Weekly downloads
-
License
MIT
Repository
github
Last release
5 months ago

Eslint-config-bro

Eslint config for Arc & Codementor


Installation

yarn add --dev @codementor/eslint-config-bro \
@typescript-eslint/eslint-plugin \
@typescript-eslint/parser \
@babel/eslint-parser \
eslint \
eslint-config-jsx \
eslint-config-prettier \
eslint-config-react \
eslint-config-standard \
eslint-config-standard-react \
eslint-config-standard-jsx \
eslint-plugin-prettier \
eslint-plugin-react \
eslint-plugin-import \
eslint-plugin-promise \
eslint-plugin-n \
prettier

eslint-plugin-import, eslint-plugin-promise, eslint-plugin-n are required by eslint-config-standard

In your .eslintrc.* file

{
  "extends": [
    "@codementor/bro"
  ],
}

In your package.json file

{
  "scripts": {
    "lint": "eslint \"src/**/*.js\"",
    "lint:fix": "eslint \"src/**/*.js\" --fix",
    "lint-staged": "lint-staged",
  },
  "pre-commit": "lint-staged",
  "lint-staged": {
    "*.+(js|ts|tsx)": [
      "eslint --fix",
      "git add"
    ]
  },
}
1.6.0

5 months ago

1.2.0

8 months ago

1.5.0

7 months ago

1.4.0

7 months ago

1.3.0

7 months ago

1.1.0

11 months ago

1.0.5

2 years ago

1.0.4

2 years ago

1.0.3

2 years ago

1.0.2

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago