8000 GitHub - crycode-de/eslint-config-js: ESLint configuration to be used with plain JavaScript according to my personal preferences
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
This repository was archived by the owner on Aug 19, 2024. It is now read-only.

ESLint configuration to be used with plain JavaScript according to my personal preferences

Notifications You must be signed in to change notification settings

crycode-de/eslint-config-js

Repository files navigation

ESLint config

Warning

This package is deprecated since eslint 9 and no longer maintained.
Please use configs.js from @crycode/eslint-config instead.

This modules provides an ESLint configuration to be used with plain JavaScript according to my personal preferences.

Usage

Add eslint and @crycode/eslint-config-js to your devDependencies:

npm install --save-dev eslint @crycode/eslint-config-js

Add a file named .eslintrc.js to your project root directory:

module.exports = {
  extends: [
    '@crycode/eslint-config-js',
  ],
};

Changelog

1.1.0 (2023-09-07)

  • Added dependency to eslint-plugin-import and recommended import rules
  • Replace rule no-duplicate-imports with import/no-duplicates

1.0.0 (2023-08-31)

  • Port from @crycode/eslint-config

License

MIT License

Copyright (c) 2021-2023 Peter Müller peter@crycode.de

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

About

ESLint configuration to be used with plain JavaScript according to my personal preferences

Resources

Stars

Watchers

Forks

Sponsor this project

  •  

Packages

No packages published
0