-
Notifications
You must be signed in to change notification settings - Fork 7
Install and configure eslint #282
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
5f95d68
1a415e8
51c45aa
e6f19d7
c20d71d
084ea25
d84fd8a
6194277
d603da9
f62dd34
cb1d5ad
75d1ea8
e27d91d
1603022
71b7b4c
4867b98
1ca3fb7
2bd8ac7
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,54 @@ | ||
| const globals = require('globals'); | ||
| const js = require('@eslint/js'); | ||
| const vueParser = require('vue-eslint-parser'); | ||
| const babelParser = require('@babel/eslint-parser'); | ||
| // eslint-plugin-prettier/recommended must be last in configuration | ||
| // so that eslint-config-prettier has the opportunity to override other configs | ||
| const prettierRecommended = require('eslint-plugin-prettier/recommended'); | ||
|
|
||
| /** @type {import('eslint').Linter.Config[]} */ | ||
| module.exports = [ | ||
| { | ||
| ignores: ['**/dist/*', '**/target/*'] | ||
| }, | ||
| { | ||
| languageOptions: { | ||
| globals: { | ||
| ...globals.browser, | ||
| ...globals.es2024, | ||
| ...globals.jasmine, | ||
| ...globals.amd, | ||
| ...globals.node, | ||
| __OMM_VERSION__: 'readonly', | ||
| __OMM_BUILD_DATE__: 'readonly', | ||
| __OMM_REVISION__: 'readonly', | ||
| __OMM_BUILD_BRANCH__: 'readonly' | ||
| }, | ||
| parser: vueParser, | ||
| parserOptions: { | ||
| parser: babelParser, | ||
| requireConfigFile: false, | ||
| allowImportExportEverywhere: true, | ||
| ecmaVersion: 'latest', | ||
| ecmaFeatures: { | ||
| impliedStrict: true | ||
| }, | ||
| sourceType: 'module' | ||
| } | ||
| } | ||
| }, | ||
| js.configs.recommended, | ||
| prettierRecommended, | ||
| { | ||
| rules: { | ||
| 'no-unused-vars': [ | ||
| 'error', | ||
| { | ||
| vars: 'all', | ||
| args: 'none' | ||
| } | ||
| ], | ||
| 'prettier/prettier': 'error' | ||
| } | ||
| } | ||
| ]; |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -296,7 +296,6 @@ if (!args['exclude-requirements-matrix']) { | |
| console.log('Requirement ID | Test Procedures | Status'); | ||
| console.log('--- | --- | --- '); | ||
| _.each(sortedRequirements, function (requirement) { | ||
| var procedureCount = requirement.procedures.length; | ||
|
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Do we even use this file anymore? should we just axe it?
Collaborator
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. probably. can create a maintenance ticket to prune unnecessary files
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. |
||
| var implemented = _.filter(requirement.procedures, { implemented: true }).length; | ||
| var conducted = _.filter(requirement.procedures, { conducted: true }).length; | ||
| var verified = _.filter(requirement.procedures, { conducted: true, passed: true }).length; | ||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.