forked from Ohpeii/nitro-sniper
-
Notifications
You must be signed in to change notification settings - Fork 231
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor: switch from commonjs to module
- Loading branch information
1 parent
5b5ec45
commit f7c5b83
Showing
10 changed files
with
179 additions
and
305 deletions.
There are no files selected for viewing
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,29 +1,29 @@ | ||
{ | ||
"extends": ["eslint:recommended", "plugin:node/recommended", "prettier"], | ||
"plugins": ["prettier"], | ||
"parser": "@babel/eslint-parser", | ||
"parserOptions": { | ||
"requireConfigFile": false, | ||
"ecmaVersion": "latest", | ||
"sourceType": "module" | ||
"sourceType": "module", | ||
"babelOptions": { | ||
"presets": ["@babel/preset-env"], | ||
"plugins": ["@babel/plugin-syntax-import-assertions"] | ||
} | ||
}, | ||
"extends": ["eslint:recommended", "prettier"], | ||
"plugins": ["prettier"], | ||
"env": { | ||
"node": true, | ||
"es2021": true | ||
}, | ||
"rules": { | ||
"prettier/prettier": ["error", { | ||
"endOfLine": "auto" | ||
}], | ||
"prettier/prettier": ["error", { "endOfLine": "auto" }], | ||
"no-unused-vars": "warn", | ||
"no-console": "off", | ||
"func-names": "off", | ||
"no-process-exit": "off", | ||
"object-shorthand": ["error", "always"], | ||
"class-methods-use-this": "off", | ||
"camelcase": "off", | ||
"node/no-unsupported-features/es-syntax": ["error", { | ||
"version": ">=20.0.0", | ||
"ignores": [] | ||
}] | ||
"camelcase": "off" | ||
} | ||
} | ||
|
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 +1 @@ | ||
module.exports = { extends: ["@commitlint/config-conventional"] }; | ||
export default { extends: ["@commitlint/config-conventional"] }; |
Oops, something went wrong.