Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

@cowtech/eslint-config

cowtech304ISC10.2.0TypeScript support: included

CowTech ESLint configuration

eslint, eslintconfig, eslint-config, cowtech

readme

@cowtech/eslint-config

Version Dependencies

CowTech ESLint configuration

https://sw.cowtech.it/eslint-config

Starting from version *10.0.0, it is now based on neostandard with few modifications.

Between version *4.19.0\ and *9.x\*, it was based on standard with few modifications.

Usage

In your ESLint configuration file, insert the following code:

import { cowtech } from '@cowtech/eslint-config'

export default [
  // ...
  ...cowtech
  // ...
]

Contributing to @cowtech/eslint-config

  • Check out the latest master to make sure the feature hasn't been implemented or the bug hasn't been fixed yet.
  • Check out the issue tracker to make sure someone already hasn't requested it and/or contributed it.
  • Fork the project.
  • Start a feature/bugfix branch.
  • Commit and push until you are happy with your contribution.
  • Make sure to add tests for it. This is important so I don't break it in a future version unintentionally.

Copyright (C) 2017 and above Shogun shogun@cowtech.it.

Licensed under the MIT license, which can be found at https://choosealicense.com/licenses/isc.

changelog

2024-12-28 / 10.2.0

  • chore: Updated dependencies.

2024-12-16 / 10.1.0

  • feat: Split Typescript imports.

2024-12-15 / 10.0.1

  • fix: Allow Typescript extensions.
  • chore: Choose a valid Node.js version.

2024-10-20 / 10.0.0

  • feat: Rewritten using ESLint flat configs and neostandard.

2024-01-24 / 9.0.3

  • fix: Fixed package.json

2024-01-24 / 9.0.2

  • chore: Updated dependencies.

2024-01-08 / 9.0.1

  • chore: Updated description.
  • chore: Added blueprint script.
  • chore: Added mockup test script.

2023-12-20 / 9.0.0

  • chore: Updated dependencies.
  • fix: Fixing build.
  • chore: Updating toolchain.

2023-10-23 / 8.10.0

  • fix: Fixed build, again.
  • fix: Fixed build.
  • feat: Removed eslint-plugin-unicorn.

2023-10-09 / 8.9.1

  • fix: Minor rules adjustements.

2023-10-09 / 8.9.0

  • chore: Updated dependencies.

2022-11-23 / 8.8.0

  • feat: Use common array syntax.

2022-10-12 / 8.7.5

  • fix: Fixed React including.

2022-10-12 / 8.7.4

  • fix: Fixed React including.

2022-10-12 / 8.7.3

  • chore: Updated dependencies.

2022-08-30 / 8.7.2

  • chore: Updated dependencies.

2022-08-29 / 8.7.1

  • chore: Updated dependencies.

2022-07-18 / 8.7.0

  • feat: Updated dependencies to fully support ESLint 8.x

2022-03-14 / 8.6.3

  • fix: Disable rule in React.

2022-03-13 / 8.6.2

  • fix: Disabled rule in React.

2022-03-07 / 8.6.1

  • feat: Removed useless rule.

2022-03-07 / 8.6.0

  • chore: Updated dependencies.

2022-03-07 / 8.5.0

  • feat: Verify import ordering.

2022-03-07 / 8.4.1

  • chore: Updated dependencies.

2022-03-02 / 8.4.0

  • feat: Disable rule.

2022-03-01 / 8.3.0

2022-03-01 / 8.2.2

  • feat: Disable rule.

2022-02-28 / 8.2.1

  • fix: Correctly initialize plugins.

2022-02-13 / 8.2.0

  • feat: Added eslint-plugin-unicorn.

2022-02-11 / 8.1.0

  • feat: Added import rule.

2022-01-26 / 8.0.1

  • fix: Added missing dependency.

2022-01-26 / 8.0.0

  • feat: Migrated to ESLint 8.x.x.

2022-01-14 / 7.14.6

  • feat: Allow functions in JSX.
  • chore: Updated scripts.
  • chore: Removed useless file.
  • chore: Updated badges.
  • feat: Bump minimum node version.

2021-06-01 / 7.14.5

  • fix: Sorted lines.

2021-06-01 / 7.14.4

  • fix: Sorted lines.

2021-06-01 / 7.14.3

  • fix: Do not require React for JSX.

2021-01-04 / 7.14.2

  • fix: Updated package file list.

2021-01-03 / 7.14.1

  • chore: Fixed license link in README.md.

2021-01-03 / 7.14.0

  • feat: Readded needed dependencies.

2021-01-03 / 7.13.0

  • feat: Removed useless dependencies.

2021-01-02 / 7.12.2

  • chore: Updated repository URL.

2021-01-02 / 7.12.1

  • chore: Updated license file.

2021-01-02 / 7.12.0

  • fix: Fixed package.json.

2021-01-02 / 7.11.0

  • chore: Updated license.
  • chore: Updated dependencies, code and tools.

2020-09-28 / 7.10.1

  • fix: Disable TypeScript rule.

2020-09-28 / 7.10.0

  • feat: Updated to ESLint 7.x.x.

2020-05-10 / 6.9.2

  • fix: Fixed React rules, again.

2020-05-10 / 6.9.1

  • fix: Fixed React rules.

2020-05-10 / 6.9.0

  • feat: Make browser environment explicit.

2020-03-09 / 6.8.5

  • fix: Disable overly complicated rule.

2020-03-09 / 6.8.4

  • fix: Typo fix.

2020-03-09 / 6.8.3

  • fix: Added missing rule.

2020-03-09 / 6.8.2

  • fix: Fixed wrong rules.

2020-03-09 / 6.8.1

  • fix: Disable useless rules.

2020-03-09 / 6.8.0

  • feat: Added TypeScript support.
  • feat: Update to ESLint 6.8.0

2019-02-24 / 5.14.2

  • chore: Improve release infrastructure.
  • fix: Typo fix.

2019-02-24 / 5.14.1

  • fix: Update React rule.

2019-02-24 / 5.14.0

  • chore: Use proper versioning in changelog.

2019-02-24 / 5.0.0

2019-02-24 / 4.20.0

  • feat: Updated to ESLint 5.x.x.
  • chore: Use NPM for locking.

2018-06-18 / 4.19.5

  • chore: Update dependencies scheme.

2018-05-09 / 4.19.4

  • fix: Make function space completely optional.

2018-05-09 / 4.19.3

  • fix: Fix React syntax.

2018-05-09 / 4.19.2

  • fix: Do not enforce prop-types.

2018-05-09 / 4.19.1

  • fix: Make compatible with prettier.

2018-05-09 / 4.19.0

  • feat!: Refactored to be based on Standard JS.
  • feat: Removed ember.js since it's now included in index.
  • chore: Make node an alias of index.js.

2018-03-11 / 4.18.1

2018-02-20 / 4.18.0

2018-02-20 / 4.15.1

  • feat: Updated license links and badges.

2018-01-18 / 4.15.0

2017-12-25 / 4.14.0

2017-11-28 / 4.12.0

2017-09-13 / 4.6.1

2017-09-08 / 4.6.0

  • feat: Renamed script.
  • feat: Renamed script.

2017-08-14 / 4.4.0

2017-07-31 / 4.3.0

2017-07-31 / 4.2.4

  • feat: Fixed CHANGELOG.

2017-07-19 / 4.2.3

  • fix: Bugfix.

2017-07-19 / 4.2.2

  • feat: Switched to single quotes since to be closer to StandardJS.

2017-07-11 / 4.2.1

  • feat: Minor update for async functions.

2017-07-09 / 4.2.0

  • feat: Updated to ESLint 4.2.0.

2017-06-28 / 4.1.6

  • feat: Updated ECMA version.

2017-06-28 / 4.1.5

  • feat: Fixed references.

2017-06-28 / 4.1.4

  • feat: Fixed references.

2017-06-28 / 4.1.3

  • feat: Fixed references.

2017-06-28 / 4.1.2

  • feat: Added missing files.
  • feat: Fixed README.
  • feat: Fixed README.

2017-06-28 / 4.1.1

  • feat: Fixed README.
  • feat: Fixed README.
  • feat: Updated to ESLint 4.1.1.

2017-04-26 / 3.19.1

  • feat: Explicitily include jest in the active environments.

2017-04-26 / 3.19.0

  • feat: Updated ESLint.

2017-03-28 / 3.18.2

  • feat: Enabled allowParens for no-confusing-arrow.

2017-03-28 / 3.18.1

  • feat: Disabled requireReturnForObjectLiteral for arrow-body-style.

2017-03-28 / 3.18.0

  • feat: Updated to ESLint 3.18 and added the following rules: multiline-ternary, newline-before-return, no-compare-neg-zero, no-dupe-class-members, no-restricted-globals and nonblock-statement-body-position.
  • feat: Disabled the following rules: global-require, no-case-declarations, no-extra-parens, no-sync and prefer-arrow-callback.
  • feat: Reordered main file to match eslint.org categories.
  • feat: Added React preset.
  • feat: Updated versioning scheme to match ESLint on major and minor version.

2017-02-06 / 1.0.2

  • feat: Fixed README.

2017-02-06 / 1.0.1

  • feat: Fixed README.
  • fix: Import fix.
  • fix: Import fix.
  • fix: Minor fix.