Skip to content

Commit a2c985e

Browse files
authored
chore: remove package lock (#155)
* Remove package lock * Don't use npm ci * Simplify ESLint config syntax * Remove extra no-unused-vars config * Disable unnecessary rules
1 parent 5de8450 commit a2c985e

File tree

5 files changed

+14
-23946
lines changed

5 files changed

+14
-23946
lines changed

.eslintrc

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
{
2-
"plugins": [],
3-
"extends": [
4-
"./node_modules/kcd-scripts/eslint.js"
5-
],
6-
"rules": {
7-
"babel/new-cap": "off",
8-
"func-names": 0,
9-
"no-unused-vars": 0,
10-
"babel/no-unused-expressions": 0
11-
}
2+
"extends": "./node_modules/kcd-scripts/eslint.js",
3+
"rules": {
4+
"babel/new-cap": "off",
5+
"func-names": "off",
6+
"babel/no-unused-expressions": "off",
7+
"prefer-arrow-callback": "off",
8+
"testing-library/no-await-sync-query": "off",
9+
"testing-library/no-dom-import": "off",
10+
"testing-library/prefer-screen-queries": "off"
11+
}
1212
}

.github/workflows/nightwatch-testing-library.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424
with:
2525
node-version: ${{ matrix.node }}
2626
- uses: actions/checkout@v1
27-
- run: npm ci
27+
- run: npm install
2828
- run: npm run validate
2929
release:
3030
runs-on: ubuntu-latest
@@ -34,7 +34,7 @@ jobs:
3434
with:
3535
node-version: 12
3636
- uses: actions/checkout@v1
37-
- run: npm ci
37+
- run: npm install
3838
- run: npm run build
3939
- run: ls -asl dist
4040
- run: npx semantic-release

.npmrc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
package-lock=false

.travis.yml

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,15 +13,11 @@ before_script:
1313
- sleep 3
1414
- fluxbox >/dev/null 2>&1 &
1515
language: node_js
16-
node_js: "stable"
16+
node_js: 'stable'
1717
before_install:
1818
- stty cols 80
19-
cache:
20-
directories:
21-
- "~/.npm"
2219
notifications:
2320
email: false
24-
install: npm ci
2521
script: npm run validate
2622
after_success: npx semantic-release
2723
branches:

0 commit comments

Comments
 (0)