-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
BREAKING CHANGE: switch to module for release
- Loading branch information
1 parent
4496800
commit 1565e40
Showing
8 changed files
with
14,665 additions
and
7,382 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,15 +1,42 @@ | ||
{ | ||
"extends": ["airbnb-base", "prettier", "plugin:node/recommended", "plugin:jsdoc/recommended"], | ||
"plugins": ["prettier", "@babel", "jsdoc"], | ||
"extends": [ | ||
"airbnb-base", | ||
"prettier", | ||
"plugin:jsdoc/recommended" | ||
], | ||
"plugins": [ | ||
"prettier", | ||
"@babel", | ||
"jsdoc", | ||
"import" // Helps managing module imports | ||
], | ||
"rules": { | ||
"prettier/prettier": "error", | ||
"no-unused-vars": "warn", | ||
"no-console": "off", | ||
"func-names": "off", | ||
"no-process-exit": "off", | ||
"object-shorthand": "off", | ||
"class-methods-use-this": "off", | ||
"camelcase": "off" | ||
"prettier/prettier": "error", | ||
"no-unused-vars": "warn", | ||
"no-console": "off", | ||
"func-names": "off", | ||
"no-process-exit": "off", | ||
"object-shorthand": [ | ||
"error", | ||
"always" // Encourages use of shorthand syntax where possible | ||
], | ||
"class-methods-use-this": "off", | ||
"camelcase": "off", | ||
"@babel/no-unused-expressions": "warn", // Uses Babel's enhanced checks for unused expressions | ||
"import/no-extraneous-dependencies": ["error", {"devDependencies": true}] // Ensures proper handling of dev dependencies in imports | ||
}, | ||
"parser": "@babel/eslint-parser" | ||
} | ||
"parser": "@babel/eslint-parser", | ||
"parserOptions": { | ||
"requireConfigFile": false, // Allows parsing without a Babel configuration file for simpler projects | ||
"babelOptions": { | ||
"presets": ["@babel/preset-env"] // Ensures your code is compatible with current JavaScript environments | ||
} | ||
}, | ||
"env": { | ||
"es6": true, // Enables ES6 features | ||
"browser": true, // Enables browser global variables | ||
"node": true, // Enables Node.js global variables and Node.js scoping | ||
"jest": true | ||
} | ||
} | ||
|
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,3 +2,4 @@ | |
/node_modules/ | ||
/.idea | ||
/.eslintcache | ||
.env.test |
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
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 |
---|---|---|
@@ -0,0 +1 @@ | ||
export default { testMatch: ['**/*.integration.test.js'] }; |
Oops, something went wrong.