webhint configuration
The webhint configuration for Anthony Di Pietro's
projects.
Install the package from npm
(requires Node.js):
``sh`
npm install --save-dev @adp-psych/webhint-configuration
Configure webhint to use the configuration by editing .hintrc:
`json`
{
"extends": [
"@adp-psych"
]
}
Remove generated files:
`sh`
npm run clean
Generate documentation into the doc directory with
JSDoc:
`sh`
npm run doc
Lint the project with ESLint and
npm-package-json-lint:
`sh`
npm run lint
Test the configuration by processing test.css, a CSS file that contains only@charset
a at-rule:
`sh`
npm run test
Check for new dependencies with
npm-check:
`sh`
npm run npm-check
Publish a release with np:
`sh``
npm run release
Copyright © 2021, 2022 Anthony Di Pietro
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Affero General Public License for more details.
You should have received a copy of the GNU Affero General Public License
along with this program. If not, see
https://www.gnu.org/licenses/.