Skip to content

Commit

Permalink
Fix math, inc, dec, not supporting path
Browse files Browse the repository at this point in the history
  • Loading branch information
eslachance committed Sep 19, 2024
1 parent 6220b8f commit 5cc3663
Show file tree
Hide file tree
Showing 5 changed files with 6,711 additions and 6,538 deletions.
89 changes: 46 additions & 43 deletions .eslintrc.json
Original file line number Diff line number Diff line change
@@ -1,43 +1,46 @@
{
"extends": [
"eslint:recommended",
"prettier"
],
"env": {
"node": true,
"es6": true
},
"parserOptions": {
"ecmaVersion": 2023,
"sourceType": "module"
},
"rules": {
"no-unused-vars": 1,
"valid-jsdoc": ["warn", {
"requireReturn": false,
"requireReturnDescription": false,
"preferType": {
"String": "string",
"Number": "number",
"Boolean": "boolean",
"Symbol": "symbol",
"function": "Function",
"object": "Object",
"date": "Date",
"error": "Error"
}
}],
"comma-dangle": ["error", "always-multiline"],
"keyword-spacing": ["error", {
"overrides": {
"if": { "after": true },
"for": { "after": true },
"while": { "after": true },
"catch": { "after": true },
"switch": { "after": true }
}
}],
"quotes": ["error", "single", { "avoidEscape": true, "allowTemplateLiterals": true }],
"template-curly-spacing": "error"
}
}
{
"extends": [
"eslint:recommended",
"plugin:node/recommended",
"prettier"
],
"env": {
"node": true,
"es6": true
},
"parserOptions": {
"ecmaVersion": 2023,
"sourceType": "module"
},
"rules": {
"no-unused-vars": 1,
"valid-jsdoc": ["warn", {
"requireReturn": false,
"requireReturnDescription": false,
"preferType": {
"String": "string",
"Number": "number",
"Boolean": "boolean",
"Symbol": "symbol",
"function": "Function",
"object": "Object",
"date": "Date",
"error": "Error"
}
}],
"semi": ["error", "always"],
"indent": ["error", 2, {"SwitchCase": 1}],
"comma-dangle": ["error", "always-multiline"],
"keyword-spacing": ["error", {
"overrides": {
"if": { "after": true },
"for": { "after": true },
"while": { "after": true },
"catch": { "after": true },
"switch": { "after": true }
}
}],
"quotes": ["error", "single", { "avoidEscape": true, "allowTemplateLiterals": true }],
"template-curly-spacing": "error"
}
}
Loading

0 comments on commit 5cc3663

Please sign in to comment.