-
Notifications
You must be signed in to change notification settings - Fork 761
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: integrate ApiDOM@1.0.0 (#3519)
ApiDOM has dropped stamps from it's public API and is now using JavaScript classes only. Refs #3518
- Loading branch information
Showing
33 changed files
with
1,621 additions
and
1,556 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 |
---|---|---|
@@ -0,0 +1,62 @@ | ||
const path = require('node:path'); | ||
|
||
module.exports = { | ||
root: true, | ||
env: { | ||
'shared-node-browser': true, | ||
es6: true, | ||
es2017: true, | ||
}, | ||
globals: { | ||
File: true, | ||
Blob: true, | ||
globalThis: true, | ||
}, | ||
parser: '@babel/eslint-parser', | ||
parserOptions: { | ||
babelOptions: { configFile: path.join(__dirname, 'babel.config.js') }, | ||
sourceType: 'module', | ||
ecmaVersion: 2020, | ||
ecmaFeatures: { | ||
impliedStrict: true, | ||
}, | ||
}, | ||
extends: ['eslint-config-airbnb-base', 'prettier'], | ||
plugins: ['eslint-plugin-prettier', 'prettier'], | ||
rules: { | ||
'import/order': [ | ||
'error', | ||
{ | ||
groups: [ | ||
['builtin', 'external', 'internal'], | ||
['parent', 'sibling', 'index'], | ||
], | ||
'newlines-between': 'always', | ||
}, | ||
], | ||
'import/extensions': [ | ||
'error', | ||
'always', | ||
{ | ||
ignorePackages: true, | ||
}, | ||
], | ||
'import/no-unresolved': [ | ||
2, | ||
{ | ||
ignore: [ | ||
'^@swagger-api/apidom-reference/configuration/empty$', | ||
'^@swagger-api/apidom-reference/dereference/strategies/openapi-3-1$', | ||
'^@swagger-api/apidom-reference/dereference/strategies/openapi-3-1/selectors/\\$anchor$', | ||
'^@swagger-api/apidom-reference/dereference/strategies/openapi-3-1/selectors/uri$', | ||
'^@swagger-api/apidom-reference/resolve/resolvers/file$', | ||
'^@swagger-api/apidom-reference/resolve/strategies/openapi-3-1$', | ||
'^@swagger-api/apidom-reference/parse/parsers/binary$', | ||
], | ||
}, | ||
], | ||
'prettier/prettier': 'error', | ||
'no-param-reassign': 0, // needs to be eliminated in future | ||
'no-use-before-define': [2, 'nofunc'], // needs to be eliminated in future | ||
}, | ||
}; |
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
Oops, something went wrong.