-
Notifications
You must be signed in to change notification settings - Fork 3.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: upgrade typescript/eslint related dependencies, drop node8 and…
… add node16 CI support (#3628) * chore: upgrade typescript related dependencies * chore: add issue comment link * chore: fix eslint ci add node16 support and drop node8 support * Revert node16 support * Add specifying nodejs_version install script * support windows platform ci * fix: cross-env bin * fix: move cross-env location and delete outdated code * Delete appveyor.yml #3629 (comment) remove appveyor for fast ci.
- Loading branch information
Showing
8 changed files
with
1,152 additions
and
699 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,4 +2,5 @@ Gruntfile.js | |
dist/* | ||
tmp/* | ||
lib/* | ||
test/browser/less.min.js | ||
test/browser/less.min.js | ||
node_modules |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,71 @@ | ||
{ | ||
"extends": "../../.eslintrc.json" | ||
} | ||
"parser": "@typescript-eslint/parser", | ||
"parserOptions": { | ||
"ecmaVersion": 2018, | ||
"sourceType": "module" | ||
}, | ||
"plugins": ["@typescript-eslint"], | ||
"env": { | ||
"browser": true, | ||
"node": true | ||
}, | ||
"globals": {}, | ||
"rules": { | ||
"no-eval": 2, | ||
"no-use-before-define": [ | ||
2, | ||
{ | ||
"functions": false | ||
} | ||
], | ||
"no-undef": 0, | ||
"no-unused-vars": 1, | ||
"no-caller": 2, | ||
"no-eq-null": 1, | ||
"guard-for-in": 2, | ||
"no-implicit-coercion": [ | ||
2, | ||
{ | ||
"boolean": false, | ||
"string": true, | ||
"number": true | ||
} | ||
], | ||
"no-with": 2, | ||
"no-mixed-spaces-and-tabs": 2, | ||
"no-multiple-empty-lines": 2, | ||
"dot-location": [2, "property"], | ||
"operator-linebreak": [0, "after"], | ||
"keyword-spacing": [2, {}], | ||
"space-unary-ops": [ | ||
2, | ||
{ | ||
"words": false, | ||
"nonwords": false | ||
} | ||
], | ||
"no-spaced-func": 2, | ||
"space-before-function-paren": [ | ||
1, | ||
{ | ||
"anonymous": "ignore", | ||
"named": "never" | ||
} | ||
], | ||
"comma-dangle": [2, "never"], | ||
"no-trailing-spaces": 0, | ||
"max-len": [2, 160], | ||
"comma-style": [2, "last"], | ||
"curly": [2, "all"], | ||
"space-infix-ops": 2, | ||
"spaced-comment": 1, | ||
"space-before-blocks": [2, "always"], | ||
"indent": [ | ||
2, | ||
4, | ||
{ | ||
"SwitchCase": 1 | ||
} | ||
] | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.