mirror of
https://github.com/Azgaar/Fantasy-Map-Generator.git
synced 2025-12-25 13:31:24 +01:00
merge completed... now to fix all the bugs...
This commit is contained in:
commit
87c4d80fbc
3472 changed files with 466748 additions and 6517 deletions
43
node_modules/eslint-config-airbnb-base/rules/node.js
generated
vendored
Normal file
43
node_modules/eslint-config-airbnb-base/rules/node.js
generated
vendored
Normal file
|
|
@ -0,0 +1,43 @@
|
|||
module.exports = {
|
||||
env: {
|
||||
node: true
|
||||
},
|
||||
|
||||
rules: {
|
||||
// enforce return after a callback
|
||||
'callback-return': 'off',
|
||||
|
||||
// require all requires be top-level
|
||||
// https://eslint.org/docs/rules/global-require
|
||||
'global-require': 'error',
|
||||
|
||||
// enforces error handling in callbacks (node environment)
|
||||
'handle-callback-err': 'off',
|
||||
|
||||
// disallow use of the Buffer() constructor
|
||||
// https://eslint.org/docs/rules/no-buffer-constructor
|
||||
'no-buffer-constructor': 'error',
|
||||
|
||||
// disallow mixing regular variable and require declarations
|
||||
'no-mixed-requires': ['off', false],
|
||||
|
||||
// disallow use of new operator with the require function
|
||||
'no-new-require': 'error',
|
||||
|
||||
// disallow string concatenation with __dirname and __filename
|
||||
// https://eslint.org/docs/rules/no-path-concat
|
||||
'no-path-concat': 'error',
|
||||
|
||||
// disallow use of process.env
|
||||
'no-process-env': 'off',
|
||||
|
||||
// disallow process.exit()
|
||||
'no-process-exit': 'off',
|
||||
|
||||
// restrict usage of specified node modules
|
||||
'no-restricted-modules': 'off',
|
||||
|
||||
// disallow use of synchronous methods (off by default)
|
||||
'no-sync': 'off',
|
||||
}
|
||||
};
|
||||
Loading…
Add table
Add a link
Reference in a new issue