Skip to content

Commit

Permalink
16.1.0 (#230)
Browse files Browse the repository at this point in the history
* ignore unicorn/prevent-abbreviations and unicorn/no-null

* ignore unicorn/prevent-abbreviations and unicorn/no-null

* ignore unicorn/prevent-abbreviations and unicorn/no-null

* alphabetize
  • Loading branch information
pohnemus authored Oct 4, 2020
1 parent eb8e4c1 commit 25d8603
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 2 deletions.
2 changes: 2 additions & 0 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ const style = require.resolve('./rules/style');
const variables = require.resolve('./rules/variables');
const prettier = require.resolve('./rules/prettier');
const jestRules = require.resolve('./rules/jest');
const unicornRules = require.resolve('./rules/unicorn');

module.exports = {
extends: [
Expand All @@ -23,6 +24,7 @@ module.exports = {
variables,
prettier,
jestRules,
unicornRules,
],
plugins: ['jest', 'prettier'],
parserOptions: {
Expand Down
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "eslint-config-tc",
"version": "16.0.0",
"version": "16.1.0",
"description": "ESLint shareable config for JavaScript projects",
"keywords": [
"eslintconfig",
Expand Down
6 changes: 6 additions & 0 deletions rules/unicorn.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
module.exports = {
rules: {
'unicorn/no-null': 'off',
'unicorn/prevent-abbreviations': 'off',
},
};

0 comments on commit 25d8603

Please sign in to comment.