1
- # eslint-config-airbnb-base
1
+ # eslint-config-airbnb-base < sup > [ ![ Version Badge ] [ npm-version-svg ]] [ package-url ] </ sup >
2
2
3
- [ ![ npm version] ( https://badge.fury.io/js/eslint-config-airbnb-base.svg )] ( https://badge.fury.io/js/eslint-config-airbnb-base )
3
+ [ ![ npm version] ( https://badge.fury.io/js/eslint-config-airbnb-base.svg )] [ package-url ]
4
+
5
+ [ ![ github actions] [ actions-image ]] [ actions-url ]
6
+ [ ![ License] [ license-image ]] [ license-url ]
7
+ [ ![ Downloads] [ downloads-image ]] [ downloads-url ]
4
8
5
9
This package provides Airbnb's base JS .eslintrc (without React plugins) as an extensible shared config.
6
10
@@ -79,7 +83,7 @@ Lints ES5 and below. Requires `eslint` and `eslint-plugin-import`.
79
83
Which produces and runs a command like:
80
84
81
85
``` sh
82
- npm install --save-dev eslint-config-airbnb-base eslint@^3.0.1 eslint-plugin-import@^1.10.3
86
+ npm install --save-dev eslint-config-airbnb-base eslint@^# .#.# eslint-plugin-import@^#.#.#
83
87
```
84
88
85
89
2 . Add ` "extends": "airbnb-base/legacy" ` to your .eslintrc
@@ -97,3 +101,12 @@ Consider adding test cases if you're making complicated rules changes, like anyt
97
101
You can run tests with ` npm test ` .
98
102
99
103
You can make sure this module lints with itself using ` npm run lint ` .
104
+
105
+ [ package-url ] : https://npmjs.org/package/eslint-config-airbnb-base
106
+ [ npm-version-svg ] : https://versionbadg.es/airbnb/javascript.svg
107
+ [ license-image ] : https://img.shields.io/npm/l/eslint-config-airbnb-base.svg
108
+ [ license-url ] : LICENSE.md
109
+ [ downloads-image ] : https://img.shields.io/npm/dm/eslint-config-airbnb-base.svg
110
+ [ downloads-url ] : https://npm-stat.com/charts.html?package=eslint-config-airbnb-base
111
+ [ actions-image ] : https://img.shields.io/endpoint?url=https://github-actions-badge-u3jn4tfpocch.runkit.sh/airbnb/javascript
112
+ [ actions-url ] : https://github.com/airbnb/javascript/actions
0 commit comments