Skip to content

Commit

Permalink
refactor: next (#501)
Browse files Browse the repository at this point in the history
  • Loading branch information
cap-Bernardito committed Jun 24, 2021
1 parent 99c6500 commit 5238a15
Show file tree
Hide file tree
Showing 74 changed files with 16,477 additions and 15,659 deletions.
22 changes: 11 additions & 11 deletions .eslintrc.js
@@ -1,28 +1,28 @@
module.exports = {
root: true,
extends: ['@webpack-contrib/eslint-config-webpack', 'prettier'],
extends: ["@webpack-contrib/eslint-config-webpack", "prettier"],
overrides: [
{
files: ['src/runtime/**/*.js'],
files: ["src/runtime/**/*.js"],
env: {
browser: true,
node: true,
},
globals: {
__webpack_nonce__: 'readonly',
__webpack_nonce__: "readonly",
},
rules: {
'no-underscore-dangle': 'off',
'no-plusplus': 'off',
'consistent-return': 'off',
'no-param-reassign': 'off',
"no-underscore-dangle": "off",
"no-plusplus": "off",
"consistent-return": "off",
"no-param-reassign": "off",
camelcase: [
'error',
{ properties: 'never', allow: ['__webpack_nonce__'] },
"error",
{ properties: "never", allow: ["__webpack_nonce__"] },
],
// avoid unnecessary `babel` helpers
'prefer-destructuring': 'off',
'prefer-rest-params': 'off',
"prefer-destructuring": "off",
"prefer-rest-params": "off",
},
},
],
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/nodejs.yml
Expand Up @@ -55,8 +55,8 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
node-version: [10.x, 12.x, 14.x]
webpack-version: [4, latest]
node-version: [12.x, 14.x, 16.x]
webpack-version: [latest]

runs-on: ${{ matrix.os }}

Expand Down
3 changes: 1 addition & 2 deletions .husky/pre-commit
@@ -1,5 +1,4 @@

#!/bin/sh
. "$(dirname "$0")/_/husky.sh"

npx lint-staged
npx --no-install lint-staged
1 change: 0 additions & 1 deletion .prettierrc.js

This file was deleted.

0 comments on commit 5238a15

Please sign in to comment.