Skip to content

Commit 800f8d4

Browse files
aesteves60dpellier
authored andcommitted
chore: add separate lint a11y
Signed-off-by: Alexandre Esteves <[email protected]>
1 parent c7b8c4a commit 800f8d4

File tree

42 files changed

+62
-1
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

42 files changed

+62
-1
lines changed

.eslintrc

-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@
1212
"plugins": [
1313
"@typescript-eslint",
1414
"eslint-plugin-import",
15-
"eslint-plugin-jsx-a11y",
1615
"eslint-plugin-tsdoc"
1716
],
1817
"root": true,

.eslintrc-a11y

+22
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
{
2+
"extends": [
3+
"plugin:jsx-a11y/strict"
4+
],
5+
"parser": "@typescript-eslint/parser",
6+
"parserOptions": {
7+
"ecmaVersion": 2020,
8+
"project": ["tsconfig.json"],
9+
"sourceType": "module"
10+
},
11+
"plugins": [
12+
"eslint-plugin-jsx-a11y"
13+
],
14+
"root": true,
15+
"settings": {
16+
"import/resolver": {
17+
"typescript": {
18+
"project": "./tsconfig.json"
19+
}
20+
}
21+
}
22+
}

package.json

+1
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@
2424
"clean": "lerna run clean",
2525
"doc": "lerna run doc",
2626
"lint": "yarn lint:ts && yarn lint:scss",
27+
"lint:a11y": "lerna run lint:a11y",
2728
"lint:ts": "lerna run lint:ts",
2829
"lint:scss": "lerna run lint:scss",
2930
"new:component": "plop --plopfile scripts/component-generator/plopfile.js component",

packages/ods/src/components/accordion/package.json

+1
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
"scripts": {
99
"clean": "rimraf .stencil coverage dist documentation www",
1010
"doc": "custom-elements-manifest analyze --config ./custom-elements-manifest.config.mjs",
11+
"lint:a11y": "eslint --config ../../../../../.eslintrc-a11y 'src/**/*.{js,ts,tsx}'",
1112
"lint:scss": "stylelint 'src/components/**/*.scss'",
1213
"lint:ts": "eslint '{src,tests}/**/*.{js,ts,tsx}'",
1314
"start": "stencil build --dev --watch --serve",

packages/ods/src/components/badge/package.json

+1
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
"scripts": {
99
"clean": "rimraf .stencil coverage dist documentation www",
1010
"doc": "custom-elements-manifest analyze --config ./custom-elements-manifest.config.mjs",
11+
"lint:a11y": "eslint --config ../../../../../.eslintrc-a11y 'src/**/*.{js,ts,tsx}'",
1112
"lint:scss": "stylelint 'src/components/**/*.scss'",
1213
"lint:ts": "eslint '{src,tests}/**/*.{js,ts,tsx}'",
1314
"start": "stencil build --dev --watch --serve",

packages/ods/src/components/breadcrumb/package.json

+1
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
"scripts": {
99
"clean": "rimraf .stencil coverage dist documentation www",
1010
"doc": "custom-elements-manifest analyze --config ./custom-elements-manifest.config.mjs",
11+
"lint:a11y": "eslint --config ../../../../../.eslintrc-a11y 'src/**/*.{js,ts,tsx}'",
1112
"lint:scss": "stylelint 'src/components/**/*.scss'",
1213
"lint:ts": "eslint '{src,tests}/**/*.{js,ts,tsx}'",
1314
"start": "stencil build --dev --watch --serve",

packages/ods/src/components/button/package.json

+1
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
"scripts": {
99
"clean": "rimraf .stencil coverage dist documentation www",
1010
"doc": "custom-elements-manifest analyze --config ./custom-elements-manifest.config.mjs",
11+
"lint:a11y": "eslint --config ../../../../../.eslintrc-a11y 'src/**/*.{js,ts,tsx}'",
1112
"lint:scss": "stylelint 'src/components/**/*.scss'",
1213
"lint:ts": "eslint '{src,tests}/**/*.{js,ts,tsx}'",
1314
"start": "stencil build --dev --watch --serve",

packages/ods/src/components/card/package.json

+1
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
"scripts": {
99
"clean": "rimraf .stencil coverage dist documentation www",
1010
"doc": "custom-elements-manifest analyze --config ./custom-elements-manifest.config.mjs",
11+
"lint:a11y": "eslint --config ../../../../../.eslintrc-a11y 'src/**/*.{js,ts,tsx}'",
1112
"lint:scss": "stylelint 'src/components/**/*.scss'",
1213
"lint:ts": "eslint '{src,tests}/**/*.{js,ts,tsx}'",
1314
"start": "stencil build --dev --watch --serve",

packages/ods/src/components/checkbox/package.json

+1
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
"scripts": {
99
"clean": "rimraf .stencil coverage dist documentation www",
1010
"doc": "custom-elements-manifest analyze --config ./custom-elements-manifest.config.mjs",
11+
"lint:a11y": "eslint --config ../../../../../.eslintrc-a11y 'src/**/*.{js,ts,tsx}'",
1112
"lint:scss": "stylelint 'src/components/**/*.scss'",
1213
"lint:ts": "eslint '{src,tests}/**/*.{js,ts,tsx}'",
1314
"start": "stencil build --dev --watch --serve",

packages/ods/src/components/clipboard/package.json

+1
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
"scripts": {
99
"clean": "rimraf .stencil coverage dist documentation www",
1010
"doc": "custom-elements-manifest analyze --config ./custom-elements-manifest.config.mjs",
11+
"lint:a11y": "eslint --config ../../../../../.eslintrc-a11y 'src/**/*.{js,ts,tsx}'",
1112
"lint:scss": "stylelint 'src/components/**/*.scss'",
1213
"lint:ts": "eslint '{src,tests}/**/*.{js,ts,tsx}'",
1314
"start": "stencil build --dev --watch --serve",

packages/ods/src/components/code/package.json

+1
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
"scripts": {
99
"clean": "rimraf .stencil coverage dist documentation www",
1010
"doc": "custom-elements-manifest analyze --config ./custom-elements-manifest.config.mjs",
11+
"lint:a11y": "eslint --config ../../../../../.eslintrc-a11y 'src/**/*.{js,ts,tsx}'",
1112
"lint:scss": "stylelint 'src/components/**/*.scss'",
1213
"lint:ts": "eslint '{src,tests}/**/*.{js,ts,tsx}'",
1314
"start": "stencil build --dev --watch --serve",

packages/ods/src/components/datepicker/package.json

+1
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
"scripts": {
99
"clean": "rimraf .stencil coverage dist documentation www",
1010
"doc": "custom-elements-manifest analyze --config ./custom-elements-manifest.config.mjs",
11+
"lint:a11y": "eslint --config ../../../../../.eslintrc-a11y 'src/**/*.{js,ts,tsx}'",
1112
"lint:scss": "stylelint 'src/components/**/*.scss'",
1213
"lint:ts": "eslint '{src,tests}/**/*.{js,ts,tsx}'",
1314
"start": "stencil build --dev --watch --serve",

packages/ods/src/components/divider/package.json

+1
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
"scripts": {
99
"clean": "rimraf .stencil coverage dist documentation www",
1010
"doc": "custom-elements-manifest analyze --config ./custom-elements-manifest.config.mjs",
11+
"lint:a11y": "eslint --config ../../../../../.eslintrc-a11y 'src/**/*.{js,ts,tsx}'",
1112
"lint:scss": "stylelint 'src/components/**/*.scss'",
1213
"lint:ts": "eslint '{src,tests}/**/*.{js,ts,tsx}'",
1314
"start": "stencil build --dev --watch --serve",

packages/ods/src/components/drawer/package.json

+1
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
"scripts": {
99
"clean": "rimraf .stencil coverage dist documentation www",
1010
"doc": "custom-elements-manifest analyze --config ./custom-elements-manifest.config.mjs",
11+
"lint:a11y": "eslint --config ../../../../../.eslintrc-a11y 'src/**/*.{js,ts,tsx}'",
1112
"lint:scss": "stylelint 'src/components/**/*.scss'",
1213
"lint:ts": "eslint 'src/**/*.{js,ts,tsx}'",
1314
"start": "stencil build --dev --watch --serve",

packages/ods/src/components/file-upload/package.json

+1
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
"scripts": {
99
"clean": "rimraf .stencil coverage dist documentation www",
1010
"doc": "custom-elements-manifest analyze --config ./custom-elements-manifest.config.mjs",
11+
"lint:a11y": "eslint --config ../../../../../.eslintrc-a11y 'src/**/*.{js,ts,tsx}'",
1112
"lint:scss": "stylelint 'src/components/**/*.scss'",
1213
"lint:ts": "eslint '{src,tests}/**/*.{js,ts,tsx}'",
1314
"start": "stencil build --dev --watch --serve",

packages/ods/src/components/form-field/package.json

+1
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
"scripts": {
99
"clean": "rimraf .stencil coverage dist documentation www",
1010
"doc": "custom-elements-manifest analyze --config ./custom-elements-manifest.config.mjs",
11+
"lint:a11y": "eslint --config ../../../../../.eslintrc-a11y 'src/**/*.{js,ts,tsx}'",
1112
"lint:scss": "stylelint 'src/components/**/*.scss'",
1213
"lint:ts": "eslint '{src,tests}/**/*.{js,ts,tsx}'",
1314
"start": "stencil build --dev --watch --serve",

packages/ods/src/components/icon/package.json

+1
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
"scripts": {
99
"clean": "rimraf .stencil coverage dist documentation www",
1010
"doc": "custom-elements-manifest analyze --config ./custom-elements-manifest.config.mjs",
11+
"lint:a11y": "eslint --config ../../../../../.eslintrc-a11y 'src/**/*.{js,ts,tsx}'",
1112
"lint:scss": "stylelint 'src/components/**/*.scss'",
1213
"lint:ts": "eslint '{src,tests}/**/*.{js,ts,tsx}'",
1314
"start": "stencil build --dev --watch --serve",

packages/ods/src/components/input/package.json

+1
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
"scripts": {
99
"clean": "rimraf .stencil coverage dist documentation www",
1010
"doc": "custom-elements-manifest analyze --config ./custom-elements-manifest.config.mjs",
11+
"lint:a11y": "eslint --config ../../../../../.eslintrc-a11y 'src/**/*.{js,ts,tsx}'",
1112
"lint:scss": "stylelint 'src/components/**/*.scss'",
1213
"lint:ts": "eslint '{src,tests}/**/*.{js,ts,tsx}'",
1314
"start": "stencil build --dev --watch --serve",

packages/ods/src/components/link/package.json

+1
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
"scripts": {
99
"clean": "rimraf .stencil coverage dist documentation www",
1010
"doc": "custom-elements-manifest analyze --config ./custom-elements-manifest.config.mjs",
11+
"lint:a11y": "eslint --config ../../../../../.eslintrc-a11y 'src/**/*.{js,ts,tsx}'",
1112
"lint:scss": "stylelint 'src/components/**/*.scss'",
1213
"lint:ts": "eslint 'src/**/*.{js,ts,tsx}'",
1314
"start": "stencil build --dev --watch --serve",

packages/ods/src/components/medium/package.json

+1
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
"scripts": {
99
"clean": "rimraf .stencil coverage dist documentation www",
1010
"doc": "custom-elements-manifest analyze --config ./custom-elements-manifest.config.mjs",
11+
"lint:a11y": "eslint --config ../../../../../.eslintrc-a11y 'src/**/*.{js,ts,tsx}'",
1112
"lint:scss": "stylelint --allow-empty-input 'src/components/**/*.scss'",
1213
"lint:ts": "eslint '{src,tests}/**/*.{js,ts,tsx}'",
1314
"start": "stencil build --dev --watch --serve",

packages/ods/src/components/message/package.json

+1
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
"scripts": {
99
"clean": "rimraf .stencil coverage dist documentation www",
1010
"doc": "custom-elements-manifest analyze --config ./custom-elements-manifest.config.mjs",
11+
"lint:a11y": "eslint --config ../../../../../.eslintrc-a11y 'src/**/*.{js,ts,tsx}'",
1112
"lint:scss": "stylelint 'src/components/**/*.scss'",
1213
"lint:ts": "eslint '{src,tests}/**/*.{js,ts,tsx}'",
1314
"start": "stencil build --dev --watch --serve",

packages/ods/src/components/modal/package.json

+1
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
"scripts": {
99
"clean": "rimraf .stencil coverage dist documentation www",
1010
"doc": "custom-elements-manifest analyze --config ./custom-elements-manifest.config.mjs",
11+
"lint:a11y": "eslint --config ../../../../../.eslintrc-a11y 'src/**/*.{js,ts,tsx}'",
1112
"lint:scss": "stylelint 'src/components/**/*.scss'",
1213
"lint:ts": "eslint '{src,tests}/**/*.{js,ts,tsx}'",
1314
"start": "stencil build --dev --watch --serve",

packages/ods/src/components/pagination/package.json

+1
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
"scripts": {
99
"clean": "rimraf .stencil coverage dist documentation www",
1010
"doc": "custom-elements-manifest analyze --config ./custom-elements-manifest.config.mjs",
11+
"lint:a11y": "eslint --config ../../../../../.eslintrc-a11y 'src/**/*.{js,ts,tsx}'",
1112
"lint:scss": "stylelint 'src/components/**/*.scss'",
1213
"lint:ts": "eslint '{src,tests}/**/*.{js,ts,tsx}'",
1314
"start": "stencil build --dev --watch --serve",

packages/ods/src/components/password/package.json

+1
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
"scripts": {
99
"clean": "rimraf .stencil coverage dist documentation www",
1010
"doc": "custom-elements-manifest analyze --config ./custom-elements-manifest.config.mjs",
11+
"lint:a11y": "eslint --config ../../../../../.eslintrc-a11y 'src/**/*.{js,ts,tsx}'",
1112
"lint:scss": "stylelint 'src/components/**/*.scss'",
1213
"lint:ts": "eslint '{src,tests}/**/*.{js,ts,tsx}'",
1314
"start": "stencil build --dev --watch --serve",

packages/ods/src/components/phone-number/package.json

+1
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
"scripts": {
99
"clean": "rimraf .stencil coverage dist documentation www",
1010
"doc": "custom-elements-manifest analyze --config ./custom-elements-manifest.config.mjs",
11+
"lint:a11y": "eslint --config ../../../../../.eslintrc-a11y 'src/**/*.{js,ts,tsx}'",
1112
"lint:scss": "stylelint 'src/components/**/*.scss'",
1213
"lint:ts": "npm run validate && eslint '{src,tests}/**/*.{js,ts,tsx}'",
1314
"start": "stencil build --dev --watch --serve",

packages/ods/src/components/popover/package.json

+1
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
"scripts": {
99
"clean": "rimraf .stencil coverage dist documentation www",
1010
"doc": "custom-elements-manifest analyze --config ./custom-elements-manifest.config.mjs",
11+
"lint:a11y": "eslint --config ../../../../../.eslintrc-a11y 'src/**/*.{js,ts,tsx}'",
1112
"lint:scss": "stylelint 'src/components/**/*.scss'",
1213
"lint:ts": "eslint '{src,tests}/**/*.{js,ts,tsx}'",
1314
"start": "stencil build --dev --watch --serve",

packages/ods/src/components/progress-bar/package.json

+1
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
"scripts": {
99
"clean": "rimraf .stencil coverage dist documentation www",
1010
"doc": "custom-elements-manifest analyze --config ./custom-elements-manifest.config.mjs",
11+
"lint:a11y": "eslint --config ../../../../../.eslintrc-a11y 'src/**/*.{js,ts,tsx}'",
1112
"lint:scss": "stylelint 'src/components/**/*.scss'",
1213
"lint:ts": "eslint '{src,tests}/**/*.{js,ts,tsx}'",
1314
"start": "stencil build --dev --watch --serve",

packages/ods/src/components/quantity/package.json

+1
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
"scripts": {
99
"clean": "rimraf .stencil coverage dist documentation www",
1010
"doc": "custom-elements-manifest analyze --config ./custom-elements-manifest.config.mjs",
11+
"lint:a11y": "eslint --config ../../../../../.eslintrc-a11y 'src/**/*.{js,ts,tsx}'",
1112
"lint:scss": "stylelint 'src/components/**/*.scss'",
1213
"lint:ts": "eslint '{src,tests}/**/*.{js,ts,tsx}'",
1314
"start": "stencil build --dev --watch --serve",

packages/ods/src/components/radio/package.json

+1
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
"scripts": {
99
"clean": "rimraf .stencil coverage dist documentation www",
1010
"doc": "custom-elements-manifest analyze --config ./custom-elements-manifest.config.mjs",
11+
"lint:a11y": "eslint --config ../../../../../.eslintrc-a11y 'src/**/*.{js,ts,tsx}'",
1112
"lint:scss": "stylelint 'src/components/**/*.scss'",
1213
"lint:ts": "eslint '{src,tests}/**/*.{js,ts,tsx}'",
1314
"start": "stencil build --dev --watch --serve",

packages/ods/src/components/range/package.json

+1
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
"scripts": {
99
"clean": "rimraf .stencil coverage dist documentation www",
1010
"doc": "custom-elements-manifest analyze --config ./custom-elements-manifest.config.mjs",
11+
"lint:a11y": "eslint --config ../../../../../.eslintrc-a11y 'src/**/*.{js,ts,tsx}'",
1112
"lint:scss": "stylelint 'src/components/**/*.scss'",
1213
"lint:ts": "eslint '{src,tests}/**/*.{js,ts,tsx}'",
1314
"start": "stencil build --dev --watch --serve",

packages/ods/src/components/select/package.json

+1
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
"scripts": {
99
"clean": "rimraf .stencil coverage dist documentation www",
1010
"doc": "custom-elements-manifest analyze --config ./custom-elements-manifest.config.mjs",
11+
"lint:a11y": "eslint --config ../../../../../.eslintrc-a11y 'src/**/*.{js,ts,tsx}'",
1112
"lint:scss": "stylelint 'src/components/**/*.scss'",
1213
"lint:ts": "eslint '{src,tests}/**/*.{js,ts,tsx}'",
1314
"start": "stencil build --dev --watch --serve",

packages/ods/src/components/skeleton/package.json

+1
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
"scripts": {
99
"clean": "rimraf .stencil coverage dist documentation www",
1010
"doc": "custom-elements-manifest analyze --config ./custom-elements-manifest.config.mjs",
11+
"lint:a11y": "eslint --config ../../../../../.eslintrc-a11y 'src/**/*.{js,ts,tsx}'",
1112
"lint:scss": "stylelint 'src/components/**/*.scss'",
1213
"lint:ts": "eslint '{src,tests}/**/*.{js,ts,tsx}'",
1314
"start": "stencil build --dev --watch --serve",

packages/ods/src/components/spinner/package.json

+1
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
"scripts": {
99
"clean": "rimraf .stencil coverage dist documentation www",
1010
"doc": "custom-elements-manifest analyze --config ./custom-elements-manifest.config.mjs",
11+
"lint:a11y": "eslint --config ../../../../../.eslintrc-a11y 'src/**/*.{js,ts,tsx}'",
1112
"lint:scss": "stylelint 'src/components/**/*.scss'",
1213
"lint:ts": "eslint '{src,tests}/**/*.{js,ts,tsx}'",
1314
"start": "stencil build --dev --watch --serve",

packages/ods/src/components/switch/package.json

+1
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
"scripts": {
99
"clean": "rimraf .stencil coverage dist documentation www",
1010
"doc": "custom-elements-manifest analyze --config ./custom-elements-manifest.config.mjs",
11+
"lint:a11y": "eslint --config ../../../../../.eslintrc-a11y 'src/**/*.{js,ts,tsx}'",
1112
"lint:scss": "stylelint 'src/components/**/*.scss'",
1213
"lint:ts": "eslint '{src,tests}/**/*.{js,ts,tsx}'",
1314
"start": "stencil build --dev --watch --serve",

packages/ods/src/components/table/package.json

+1
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
"scripts": {
99
"clean": "rimraf .stencil coverage dist documentation www",
1010
"doc": "custom-elements-manifest analyze --config ./custom-elements-manifest.config.mjs",
11+
"lint:a11y": "eslint --config ../../../../../.eslintrc-a11y 'src/**/*.{js,ts,tsx}'",
1112
"lint:scss": "stylelint 'src/components/**/*.scss'",
1213
"lint:ts": "eslint '{src,tests}/**/*.{js,ts,tsx}'",
1314
"start": "stencil build --dev --watch --serve",

packages/ods/src/components/tabs/package.json

+1
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
"scripts": {
99
"clean": "rimraf .stencil coverage dist documentation www",
1010
"doc": "custom-elements-manifest analyze --config ./custom-elements-manifest.config.mjs",
11+
"lint:a11y": "eslint --config ../../../../../.eslintrc-a11y 'src/**/*.{js,ts,tsx}'",
1112
"lint:scss": "stylelint 'src/components/**/*.scss'",
1213
"lint:ts": "eslint '{src,tests}/**/*.{js,ts,tsx}'",
1314
"start": "stencil build --dev --watch --serve",

packages/ods/src/components/tag/package.json

+1
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
"scripts": {
99
"clean": "rimraf .stencil coverage dist documentation www",
1010
"doc": "custom-elements-manifest analyze --config ./custom-elements-manifest.config.mjs",
11+
"lint:a11y": "eslint --config ../../../../../.eslintrc-a11y 'src/**/*.{js,ts,tsx}'",
1112
"lint:scss": "stylelint 'src/components/**/*.scss'",
1213
"lint:ts": "eslint '{src,tests}/**/*.{js,ts,tsx}'",
1314
"start": "stencil build --dev --watch --serve",

packages/ods/src/components/text/package.json

+1
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
"scripts": {
99
"clean": "rimraf .stencil coverage dist documentation www",
1010
"doc": "custom-elements-manifest analyze --config ./custom-elements-manifest.config.mjs",
11+
"lint:a11y": "eslint --config ../../../../../.eslintrc-a11y 'src/**/*.{js,ts,tsx}'",
1112
"lint:scss": "stylelint 'src/components/**/*.scss'",
1213
"lint:ts": "eslint '{src,tests}/**/*.{js,ts,tsx}'",
1314
"start": "stencil build --dev --watch --serve",

packages/ods/src/components/textarea/package.json

+1
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
"scripts": {
99
"clean": "rimraf .stencil coverage dist documentation www",
1010
"doc": "custom-elements-manifest analyze --config ./custom-elements-manifest.config.mjs",
11+
"lint:a11y": "eslint --config ../../../../../.eslintrc-a11y 'src/**/*.{js,ts,tsx}'",
1112
"lint:scss": "stylelint 'src/components/**/*.scss'",
1213
"lint:ts": "eslint '{src,tests}/**/*.{js,ts,tsx}'",
1314
"start": "stencil build --dev --watch --serve",

packages/ods/src/components/timepicker/package.json

+1
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
"scripts": {
99
"clean": "rimraf .stencil coverage dist documentation www",
1010
"doc": "custom-elements-manifest analyze --config ./custom-elements-manifest.config.mjs",
11+
"lint:a11y": "eslint --config ../../../../../.eslintrc-a11y 'src/**/*.{js,ts,tsx}'",
1112
"lint:scss": "stylelint 'src/components/**/*.scss'",
1213
"lint:ts": "eslint '{src,tests}/**/*.{js,ts,tsx}'",
1314
"start": "stencil build --dev --watch --serve",

packages/ods/src/components/toggle/package.json

+1
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
"scripts": {
99
"clean": "rimraf .stencil coverage dist documentation www",
1010
"doc": "custom-elements-manifest analyze --config ./custom-elements-manifest.config.mjs",
11+
"lint:a11y": "eslint --config ../../../../../.eslintrc-a11y 'src/**/*.{js,ts,tsx}'",
1112
"lint:scss": "stylelint 'src/components/**/*.scss'",
1213
"lint:ts": "eslint '{src,tests}/**/*.{js,ts,tsx}'",
1314
"start": "stencil build --dev --watch --serve",

packages/ods/src/components/tooltip/package.json

+1
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
"scripts": {
99
"clean": "rimraf .stencil coverage dist documentation www",
1010
"doc": "custom-elements-manifest analyze --config ./custom-elements-manifest.config.mjs",
11+
"lint:a11y": "eslint --config ../../../../../.eslintrc-a11y 'src/**/*.{js,ts,tsx}'",
1112
"lint:scss": "stylelint 'src/components/**/*.scss'",
1213
"lint:ts": "eslint '{src,tests}/**/*.{js,ts,tsx}'",
1314
"start": "stencil build --dev --watch --serve",

0 commit comments

Comments
 (0)