@digitpaint/eslint-config
v1.0.1
Published
Digitpaint ESLint config for javascript projects
Downloads
8
Readme
ESLint (Javascript)
ESLint Digitpaint standard configuration for javascript projects
About ESLint shareable configs
https://eslint.org/docs/developer-guide/shareable-configs
How to use this package
Make sure you have ESLint v9.x in your project (package.json).
The ESLint VS Code extention is also recommended.
Install package
npm install -D @digitpaint/eslint-config
Include config in your ESLint config
Import the package into your eslint config file (usually an eslint.config.js), and add it to your exported default config.
import digitpaintEslintConfig from '@digitpaint/eslint-config';Example:
export default [
...digitpaintEslintConfig,
{
...
}
]How to publish a new version of Digitpaint ESLint Configuration
Login to NPM Registry
- You need access (or reach out to a colleague) to
[email protected]mailbox - Login to the registry using
npm adduser(see credentials in LastPass: npmjs.com) - Enter OTP sent by e-mail
Publish the package
- Make sure you have updated the version in
package.json - Make sure you have tagged this version in the
mainbranch in the remote repository - Run
npm publish
