You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As a Tazama contributor, I want an automated way to validate my contributions in terms of code style and linting rules, So that I can write code that will be acceptable to the Tazama community
Replace the deprecated module "eslint-config-standard-with-typescript": "^43.0.0", with the replacement "eslint-config-love": "^51.0.0", as per https://www.npmjs.com/package/eslint-config-love 3. 3. Add eslint-plugin-promise and eslint-plugin-import
Add a rule top the linting to prevent module-scale linting overrides, if possible
Update: Will require comment justification for inline eslint-disable rules, warning for now, error in future
Replace the "license": "ISC", in the package.json with "license": "Apache-2.0",
Ensure existing linting rules are migrated to the new "flat file config" in eslint.config.js
Run npx eslint to confirm linting is working as before (regression testing)
See Override linting on a line-scale and not a module-scale tazama-lf/docs#38
The text was updated successfully, but these errors were encountered:
As a Tazama contributor,
I want an automated way to validate my contributions in terms of code style and linting rules,
So that I can write code that will be acceptable to the Tazama community
Acceptance Criteria
Migrate the implementation of ESLint from pre-v9 to post-v9 as per https://eslint.org/docs/latest/use/migrate-to-9.0.0#-new-default-config-format-eslintconfigjsUpdate: Decided on v8 for plugin support. Which is a flat config file for simple upgrade path when v9 is ready
"eslint-config-standard-with-typescript": "^43.0.0",
with the replacement"eslint-config-love": "^51.0.0",
as per https://www.npmjs.com/package/eslint-config-love3. 3. Add eslint-plugin-promise and eslint-plugin-importAdd a rule top the linting to prevent module-scale linting overrides, if possibleUpdate: Will require comment justification for inline eslint-disable rules, warning for now, error in future
"license": "ISC",
in thepackage.json
with"license": "Apache-2.0",
eslint.config.js
npx eslint
to confirm linting is working as before (regression testing)See Override linting on a line-scale and not a module-scale
tazama-lf/docs#38
The text was updated successfully, but these errors were encountered: