Skip to content

Commit

Permalink
Merge branch 'release/v24.0.0'
Browse files Browse the repository at this point in the history
  • Loading branch information
vmarseguerra committed Feb 8, 2024
2 parents ac7bf3e + 78eb5d4 commit e94b047
Show file tree
Hide file tree
Showing 219 changed files with 15,310 additions and 25,608 deletions.
7 changes: 0 additions & 7 deletions .dockerignore

This file was deleted.

23 changes: 6 additions & 17 deletions .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ module.exports = {
node: true,
mocha: true,
},
extends: ['airbnb-base', 'prettier'],
extends: ['eslint:recommended', 'airbnb-base', 'prettier'],
parserOptions: {
ecmaVersion: 'latest',
},
Expand Down Expand Up @@ -46,30 +46,19 @@ module.exports = {
TPoint: 'readonly',
TRegion: 'readonly',
TRigging: 'readonly',
TRight: 'readonly',
TSubject: 'readonly',
TType: 'readonly',
sails: 'readonly',
},
rules: {
'no-restricted-syntax': [
'error',
{
selector: 'ForInStatement',
message:
'for..in loops iterate over the entire prototype chain, which is virtually never what you want. Use Object.{keys,values,entries}, and iterate over the resulting array.',
},
{
selector: 'LabeledStatement',
message:
'Labels are a form of GOTO; using them makes code confusing and hard to maintain and understand.',
},
{
selector: 'WithStatement',
message:
'`with` is disallowed in strict mode because it makes code impossible to predict and optimize.',
},
'ForInStatement',
'LabeledStatement',
'WithStatement',
],
'prefer-destructuring': ['error', { object: true, array: false }],
'prettier/prettier': 'error',
},
plugins: ['prettier'],
};
4 changes: 1 addition & 3 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
- name: Use Node.js
uses: actions/setup-node@v1
with:
node-version: '18.x'
node-version: '20.x'
- name: Cache node modules
uses: actions/cache@v2
env:
Expand All @@ -39,8 +39,6 @@ jobs:
${{ runner.os }}-
- run: npm ci
- name: Prettier
run: npm run prettier
- name: Lint
run: npm run lint

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/master_grottocenter-api.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
- name: Set up Node.js version
uses: actions/setup-node@v1
with:
node-version: '18.x'
node-version: '20.x'

- name: Cache node modules
uses: actions/cache@v2
Expand Down
2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v18
v20
1 change: 1 addition & 0 deletions .prettierrc
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
{
"trailingComma": "es5",
"singleQuote": true
}
1 change: 1 addition & 0 deletions .sailsrc
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
"modules": {}
},
"hooks": {
"grunt": false,
"session": false
}
}
112 changes: 0 additions & 112 deletions .snyk

This file was deleted.

21 changes: 0 additions & 21 deletions Gruntfile.js

This file was deleted.

Loading

0 comments on commit e94b047

Please sign in to comment.