1.3.1 • Published 3 years ago
@telia-ace/eslint-config-eslint-base v1.3.1
@telia-ace/eslint-base
Extendable Eslint configuration built on top of eslint-config-airbnb-base.
Installation
yarn add @telia-ace/eslint-config-eslint-base \
@telia-ace/prettier@^1.0.0 \
@babel/core@^7.12.3 \
@babel/eslint-parser@^7.12.1 \
eslint@^7.13.0 \
eslint-config-airbnb-base@^14.2.1 \
eslint-config-prettier@^6.15.0 \
eslint-import-resolver-alias@^1.1.2 \
eslint-plugin-import@^2.22.1 \
eslint-plugin-jasmine@^4.1.2 \
eslint-plugin-jest@^24.3.6 \
eslint-plugin-prettier@^3.1.4 -D
Usage
Extend @telia-ace/eslint-base
in the ESLint configuration. Also make sure to setup and install @telia-ace/prettier and its peer dependencies.
module.exports = {
extends: ['@telia-ace/eslint-base']
};
Alias
Using eslint-import-resolver-alias to solve Webpack aliases.
settings: {
'import/resolver': {
alias: [['@', './src/js/modules']]
}
}