eslint-config-scratch 7.0.0 → 8.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.gitattributes +4 -0
- package/.travis.yml +2 -9
- package/README.md +5 -2
- package/es6.js +1 -0
- package/index.js +4 -1
- package/package.json +5 -5
- package/renovate.json5 +7 -0
package/.gitattributes
CHANGED
package/.travis.yml
CHANGED
|
@@ -1,17 +1,10 @@
|
|
|
1
1
|
sudo: false
|
|
2
2
|
language: node_js
|
|
3
|
-
cache:
|
|
4
|
-
directories:
|
|
5
|
-
- node_modules
|
|
6
3
|
notifications:
|
|
7
4
|
email: false
|
|
8
5
|
node_js:
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
- npm install -g greenkeeper-lockfile
|
|
12
|
-
install: npm install
|
|
13
|
-
before_script: greenkeeper-lockfile-update
|
|
14
|
-
after_script: greenkeeper-lockfile-upload
|
|
6
|
+
- lts/*
|
|
7
|
+
install: npm ci --production=false
|
|
15
8
|
after_success:
|
|
16
9
|
- npx semantic-release
|
|
17
10
|
branches:
|
package/README.md
CHANGED
|
@@ -5,14 +5,17 @@
|
|
|
5
5
|
#### eslint-config-scratch defines the eslint rules used for Scratch Javascript projects
|
|
6
6
|
|
|
7
7
|
## Installation
|
|
8
|
+
|
|
8
9
|
Install the config along with its peer dependencies, eslint and babel-eslint.
|
|
10
|
+
|
|
9
11
|
```bash
|
|
10
|
-
npm install -
|
|
12
|
+
npm install -DE eslint-config-scratch eslint@^8 @babel/eslint-parser@^7
|
|
11
13
|
```
|
|
12
14
|
|
|
13
15
|
If you're using the React config, also install the dependency for that
|
|
16
|
+
|
|
14
17
|
```bash
|
|
15
|
-
npm install -
|
|
18
|
+
npm install -DE eslint-plugin-react@^7
|
|
16
19
|
```
|
|
17
20
|
|
|
18
21
|
## Usage
|
package/es6.js
CHANGED
package/index.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "eslint-config-scratch",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "8.0.0",
|
|
4
4
|
"description": "Shareable ESLint config for Scratch",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"scripts": {
|
|
@@ -28,13 +28,13 @@
|
|
|
28
28
|
"eslint-plugin-react": ">=7.14.2"
|
|
29
29
|
},
|
|
30
30
|
"peerDependencies": {
|
|
31
|
-
"babel-
|
|
32
|
-
"eslint": "
|
|
31
|
+
"@babel/eslint-parser": "^7.11.0",
|
|
32
|
+
"eslint": "^7.5.0 || ^8.0.0"
|
|
33
33
|
},
|
|
34
34
|
"devDependencies": {
|
|
35
|
-
"babel-
|
|
35
|
+
"@babel/eslint-parser": "7.17.0",
|
|
36
36
|
"cz-conventional-changelog": "3.0.2",
|
|
37
|
-
"eslint": "
|
|
37
|
+
"eslint": "8.15.0"
|
|
38
38
|
},
|
|
39
39
|
"config": {
|
|
40
40
|
"commitizen": {
|